III · 24

Book Format (XML)

The XML serialization for books and book chapters — the same vocabulary as the Book KEV format, in XML.

The Book XML format expresses books, chapters, and conference proceedings as XML elements. Its identifier is info:ofi/fmt:xml:xsd:book.

Format identifier

info:ofi/fmt:xml:xsd:book

Element structure

The root element is <book>; its children correspond to the Book KEV descriptors with the rft. prefix removed:

  • <genre>
  • <btitle>, <atitle>, <title>
  • <author> with <aulast>, <aufirst> (repeatable)
  • <aucorp>
  • <isbn>
  • <place>, <pub>, <edition>, <series>
  • <tpages>, <spage>, <epage>, <pages>
  • <date>

Worked example — a book chapter

<?xml version="1.0" encoding="UTF-8"?>
<ctx:context-object
    xmlns:ctx="info:ofi/fmt:xml:xsd:ctx"
    xmlns:book="info:ofi/fmt:xml:xsd:book"
    version="Z39.88-2004">
  <ctx:referent>
    <ctx:metadata-by-val>
      <ctx:format>info:ofi/fmt:xml:xsd:book</ctx:format>
      <ctx:metadata>
        <book:book>
          <book:genre>bookitem</book:genre>
          <book:btitle>Logic-Based Knowledge Representation</book:btitle>
          <book:atitle>Description Logics</book:atitle>
          <book:author>
            <book:aulast>Baader</book:aulast>
            <book:aufirst>Franz</book:aufirst>
          </book:author>
          <book:pub>MIT Press</book:pub>
          <book:place>Cambridge, MA</book:place>
          <book:isbn>9780262026789</book:isbn>
          <book:date>2010</book:date>
          <book:spage>135</book:spage>
          <book:epage>178</book:epage>
        </book:book>
      </ctx:metadata>
    </ctx:metadata-by-val>
  </ctx:referent>
</ctx:context-object>

Sources