^^A  Color-code metadata values.
\newcommand{\metavalue}[1]{\textcolor{blue}{#1}}

^^A  Provide access to today's date, as formatted by hyperxmp.sty.
\makeatletter
\let\todayISO=\hyxmp@today
\makeatother

\begin{alltt}
    <?xpacket begin="\string\357\string\273\string\277" id="W5M0MpCehiHzreSzNTczkc9d"?>
    <x:xmpmeta xmlns:x="adobe:ns:meta/">
      <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
        <rdf:Description rdf:about=""
                         xmlns:pdf="http://ns.adobe.com/pdf/1.3/"
                         xmlns:xmpRights="http://ns.adobe.com/xap/1.0/rights/"
                         xmlns:dc="http://purl.org/dc/elements/1.1/"
                         xmlns:photoshop="http://ns.adobe.com/photoshop/1.0/"
                         xmlns:xmp="http://ns.adobe.com/xap/1.0/"
                         xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/"
                         xmlns:stEvt="http://ns.adobe.com/xap/1.0/sType/ResourceEvent#"
                         xmlns:pdfaid="http://www.aiim.org/pdfa/ns/id/"
                         xmlns:prism="http://prismstandard.org/namespaces/basic/3.0/"
                         xmlns:Iptc4xmpCore="http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/"
                         xmlns:pdfaExtension="http://www.aiim.org/pdfa/ns/extension/"
                         xmlns:pdfaSchema="http://www.aiim.org/pdfa/ns/schema#"
                         xmlns:pdfaProperty="http://www.aiim.org/pdfa/ns/property#"
                         xmlns:pdfaType="http://www.aiim.org/pdfa/ns/type#"
                         xmlns:pdfaField="http://www.aiim.org/pdfa/ns/field#">
          <pdfaExtension:schemas>
            <rdf:Bag>
\end{alltt}
\begin{center}
  $\vdots$\par
  \emph{[over 100 lines of boilerplate definitions not shown]}\par
  $\vdots$\par
\end{center}
\begin{alltt}
            </rdf:Bag>
          </pdfaExtension:schemas>
          <pdf:Keywords>
            \metavalue{energy quanta, Hertz effect, quantum physics}
          </pdf:Keywords>
          <pdf:Producer>\metavalue{pdfTeX-1.40.19}</pdf:Producer>
          <pdf:PDFVersion>\metavalue{1.5}</pdf:PDFVersion>
          <xmpRights:Marked>\metavalue{True}</xmpRights:Marked>
          <xmpRights:WebStatement>
            \metavalue{http://creativecommons.org/licenses/by-nc-nd/3.0/}
          </xmpRights:WebStatement>
          <dc:format>\metavalue{application/pdf}</dc:format>
          <dc:title>
            <rdf:Alt>
              <rdf:li xml:lang="en">
                \metavalue{On a heuristic viewpoint concerning the production
                and transformation of light}
              </rdf:li>
              <rdf:li xml:lang="x-default">
                \metavalue{On a heuristic viewpoint concerning the production
                and transformation of light}
              </rdf:li>
              <rdf:li xml:lang="de">
                \metavalue{\"Uber einen die Erzeugung und Verwandlung des Lichtes
                betreffenden heuristischen Gesichtspunkt}
              </rdf:li>
            </rdf:Alt>
          </dc:title>
          <dc:description>
            <rdf:Alt>
              <rdf:li xml:lang="en">\metavalue{photoelectric effect}</rdf:li>
              <rdf:li xml:lang="x-default">\metavalue{photoelectric effect}</rdf:li>
            </rdf:Alt>
          </dc:description>
          <dc:rights>
            <rdf:Alt>
              <rdf:li xml:lang="en">
                \metavalue{Copyright (C) 1905, Albert Einstein}
              </rdf:li>
              <rdf:li xml:lang="x-default">
                \metavalue{Copyright (C) 1905, Albert Einstein}
              </rdf:li>
            </rdf:Alt>
          </dc:rights>
          <dc:creator>
            <rdf:Seq>
              <rdf:li>\metavalue{Albert Einstein}</rdf:li>
            </rdf:Seq>
          </dc:creator>
          <dc:subject>
            <rdf:Bag>
              <rdf:li>\metavalue{energy quanta}</rdf:li>
              <rdf:li>\metavalue{Hertz effect}</rdf:li>
              <rdf:li>\metavalue{quantum physics}</rdf:li>
            </rdf:Bag>
          </dc:subject>
          <dc:date>
            <rdf:Seq>
              <rdf:li>\metavalue{1905-03-17}</rdf:li>
            </rdf:Seq>
          </dc:date>
          <dc:language>
            <rdf:Bag>
              <rdf:li>\metavalue{en}</rdf:li>
            </rdf:Bag>
          </dc:language>
          <dc:type>
            <rdf:Bag>
              <rdf:li>\metavalue{Text}</rdf:li>
            </rdf:Bag>
          </dc:type>
          <dc:source>\metavalue{einstein.tex}</dc:source>
          <photoshop:AuthorsPosition>
            \metavalue{Technical Assistant, Level III}
          </photoshop:AuthorsPosition>
          <photoshop:CaptionWriter>\metavalue{Scott Pakin}</photoshop:CaptionWriter>
          <xmp:CreateDate>\metavalue{2019-03-16T23:07:38-06:00}</xmp:CreateDate>
          <xmp:ModifyDate>\metavalue{2019-03-16T23:07:38-06:00}</xmp:ModifyDate>
          <xmp:MetadataDate>\metavalue{2019-03-16T23:07:38-06:00}</xmp:MetadataDate>
          <xmp:CreatorTool>\metavalue{LaTeX with hyperref package}</xmp:CreatorTool>
          <xmpMM:DocumentID>
            \metavalue{uuid:6d1ac9ec-4ff2-515a-954b-648eeb4853b0}
          </xmpMM:DocumentID>
          <xmpMM:InstanceID>
            \metavalue{uuid:3e4c4182-b182-46c9-995f-754c41d13390}
          </xmpMM:InstanceID>
          <xmpMM:VersionID>\metavalue{2.998e8}</xmpMM:VersionID>
          <Iptc4xmpCore:CreatorContactInfo rdf:parseType="Resource">
            <Iptc4xmpCore:CiAdrExtadr>\metavalue{Kramgasse 49}</Iptc4xmpCore:CiAdrExtadr>
            <Iptc4xmpCore:CiAdrCity>\metavalue{Bern}</Iptc4xmpCore:CiAdrCity>
            <Iptc4xmpCore:CiAdrPcode>\metavalue{3011}</Iptc4xmpCore:CiAdrPcode>
            <Iptc4xmpCore:CiAdrCtry>\metavalue{Switzerland}</Iptc4xmpCore:CiAdrCtry>
            <Iptc4xmpCore:CiTelWork>\metavalue{031 312 00 91}</Iptc4xmpCore:CiTelWork>
            <Iptc4xmpCore:CiEmailWork>\metavalue{aeinstein@ipi.ch}</Iptc4xmpCore:CiEmailWork>
            <Iptc4xmpCore:CiUrlWork>
              \metavalue{http://einstein.biz/,}
              \metavalue{https://www.facebook.com/AlbertEinstein}
            </Iptc4xmpCore:CiUrlWork>
          </Iptc4xmpCore:CreatorContactInfo>
          <prism:complianceProfile>\metavalue{three}</prism:complianceProfile>
          <prism:subtitle xml:lang="en-US">
            \metavalue{Putting that bum Maxwell in his place}
          </prism:subtitle>
          <prism:publicationName xml:lang="de">
            \metavalue{Annalen der Physik}
          </prism:publicationName>
          <prism:aggregationType>\metavalue{journal}</prism:aggregationType>
          <prism:volume>\metavalue{322}</prism:volume>
          <prism:number>\metavalue{6}</prism:number>
          <prism:pageRange>\metavalue{132-148}</prism:pageRange>
          <prism:issn>\metavalue{0003-3804}</prism:issn>
          <prism:eIssn>\metavalue{1521-3889}</prism:eIssn>
          <prism:doi>\metavalue{10.1002/andp.19053220607}</prism:doi>
          <prism:url>
            \metavalue{http://www.physik.uni-augsburg.de/annalen/history/einstein-papers/190517132-148.pdf}
          </prism:url>
          <prism:byteCount>\metavalue{56884}</prism:byteCount>
          <prism:pageCount>\metavalue{17}</prism:pageCount>
        </rdf:Description>
      </rdf:RDF>
    </x:xmpmeta>
    <?xpacket end="w"?>
\end{alltt}
