III · 23
Journal Format (XML)
The XML serialization for journal article and journal metadata — the same descriptive vocabulary as the KEV format, written as XML elements.
The Journal XML format expresses the same descriptive vocabulary as the Journal KEV format, but as XML elements inside an OpenURL ContextObject. Its identifier is info:ofi/fmt:xml:xsd:journal.
Format identifier
info:ofi/fmt:xml:xsd:journal
Element structure
The format is defined by an XML Schema (XSD) whose namespace is the format identifier itself. The root element is <journal>; its children correspond one-to-one to the descriptor keys of the KEV form, less the rft. prefix. The principal child elements are:
<genre><atitle>,<jtitle>,<stitle><author>(containing<aulast>,<aufirst>,<auinit>, etc.; repeatable for multiple authors)<aucorp><issn>,<eissn>,<coden><volume>,<issue>,<part><spage>,<epage>,<pages>,<artnum><date>,<ssn>,<quarter>
Worked example
<?xml version="1.0" encoding="UTF-8"?>
<ctx:context-object
xmlns:ctx="info:ofi/fmt:xml:xsd:ctx"
xmlns:journal="info:ofi/fmt:xml:xsd:journal"
version="Z39.88-2004">
<ctx:referent>
<ctx:metadata-by-val>
<ctx:format>info:ofi/fmt:xml:xsd:journal</ctx:format>
<ctx:metadata>
<journal:journal>
<journal:genre>article</journal:genre>
<journal:atitle>Can Quantum-Mechanical Description of Physical Reality Be Considered Complete?</journal:atitle>
<journal:jtitle>Physical Review</journal:jtitle>
<journal:issn>0031-899X</journal:issn>
<journal:author>
<journal:aulast>Einstein</journal:aulast>
<journal:aufirst>A.</journal:aufirst>
</journal:author>
<journal:author>
<journal:aulast>Podolsky</journal:aulast>
<journal:aufirst>B.</journal:aufirst>
</journal:author>
<journal:author>
<journal:aulast>Rosen</journal:aulast>
<journal:aufirst>N.</journal:aufirst>
</journal:author>
<journal:date>1935-05-15</journal:date>
<journal:volume>47</journal:volume>
<journal:issue>10</journal:issue>
<journal:spage>777</journal:spage>
<journal:epage>780</journal:epage>
</journal:journal>
</ctx:metadata>
</ctx:metadata-by-val>
<ctx:identifier>info:doi/10.1103/PhysRev.47.777</ctx:identifier>
</ctx:referent>
<ctx:referrer>
<ctx:identifier>info:sid/example.com:database</ctx:identifier>
</ctx:referrer>
</ctx:context-object>
When to use XML
The XML form is most commonly used in By-Reference transports — when the OpenURL is short and points to a richer description stored elsewhere — or when ContextObjects are exchanged between systems through HTTP POST. For ordinary HTTP GET By-Value linking from a database to a resolver, the KEV form is overwhelmingly preferred. See Transports.