Difference between revisions of "Bibliographic/Developer Page/Document XML Format"

From Apache OpenOffice Wiki
Jump to: navigation, search
(reduce nuber of enteries in table)
 
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Sample Bib-enhanced Writer save file contents ==
+
== Sample Writer save file contents ==
<pre>
+
document.odt contents packaged in a Zip archive:
+
  
     /Bibliographic
+
===Existing, modified and proposed files===
       /Data   
+
 
           biblio-data.xml
+
OOo Writer save files are document.odt files. They contain a packaged of directories
       /Styles
+
and files in a Zip archive. The list below shows the current, proposed new and modified
           chicago-note-b-en.csl
+
files in the archive package. The precise contents depend on the document contents - pictures etc.
 +
(To examine the contents of a .odt file, re-name the file
 +
filename.zip and open it with a archive utility. The main document content file,
 +
content.xml, will be easier to read if you turn off the OpenOffice option:
 +
Options->Load/Save->General->'Size optimization for XML Format'.)
 +
 
 +
====Current & Proposed Contents of a document.odt file====
 +
 
 +
<pre>
 +
     /Bibliographic                   (new)
 +
       /Data                         (new)  
 +
           biblio-data.xml           (new)
 +
       /Styles                       (new)
 +
           chicago-note-b-en.csl     (new, Note: the style selected by the user)
 
   /Configurations2
 
   /Configurations2
 
   /META-INF:
 
   /META-INF:
           manifest.xml
+
           manifest.xml               (modified)
 
   /Pictures
 
   /Pictures
 
   /Thumbnails
 
   /Thumbnails
 
           thumbnail.png
 
           thumbnail.png
  content.xml
+
  content.xml                         (modified)
 
  meta.xml   
 
  meta.xml   
 
  styles.xml
 
  styles.xml
Line 21: Line 32:
 
  settings.xml  
 
  settings.xml  
 
</pre>
 
</pre>
We have described below content.xml and manifest.xml. For details of CSL style files like chicago-note-b-en.csl see [http://bibliographic.openoffice.org/citeproc/index.html]
+
We have described below content.xml, manifest.xml and biblio-data.xml. For details of CSL style files like chicago-note-b-en.csl see [http://bibliographic.openoffice.org/citeproc/index.html]. For a table comparing the existing and proposed save file structure see [http://bibliographic.openoffice.org/enhanced-save-package-description.html].
  
 
=== content.xml ===
 
=== content.xml ===
Line 523: Line 534:
 
  <text:h text:style-name="Heading_20_3" text:outline-level="3">Notes</text:h>
 
  <text:h text:style-name="Heading_20_3" text:outline-level="3">Notes</text:h>
  
  <text:p text:style-name="P7">1. Nigel Thrift, "For a New Regional Geography 1,"  
+
  <text:p text:style-name="P7">Nigel Thrift, "For a New Regional Geography 1,"  
  Progress in Human Geography 14, no. 2:272–79.; Charles Tilly, &quot;Review of Moral Economy  
+
  Progress in Human Geography 14, no. 2:272–79.</text:p>
 +
 
 +
<text:p text:style-name="P7">Charles Tilly, &quot;Review of Moral Economy  
 
  and Popular Protest,&quot; Journal of Interdisciplinary History 31, no. 2:259–60., Stories,  
 
  and Popular Protest,&quot; Journal of Interdisciplinary History 31, no. 2:259–60., Stories,  
  Identities, and Political Change (Lanham, MD: Rowman &amp; Littlefield Publishers, Inc.,  
+
  Identities, and Political Change (Lanham, MD: Rowman & Littlefield Publishers, Inc.,  
 
  2002).</text:p>
 
  2002).</text:p>
  
  <text:p text:style-name="P7">2. Peter van der Veer, Riots and Rituals: The Construction of  
+
  <text:p text:style-name="P7">Peter van der Veer, Riots and Rituals: The Construction of  
 
  Violence and Public Space in Hindu Nationalism, In Riots and Pogroms ed. Paul Brass (New  
 
  Violence and Public Space in Hindu Nationalism, In Riots and Pogroms ed. Paul Brass (New  
 
  York: NYU Press), 154–76.</text:p>
 
  York: NYU Press), 154–76.</text:p>
Line 535: Line 548:
 
  <text:p text:style-name="P7">3. Nigel Thrift, For a New Regional Geography 1</text:p>
 
  <text:p text:style-name="P7">3. Nigel Thrift, For a New Regional Geography 1</text:p>
  
  <text:p text:style-name="P7">4. ... in a footnote Charles Tilly, Stories, Identities, and  
+
  <text:p text:style-name="P7">Charles Tilly, Stories, Identities, and  Political Change</text:p>
  Political Change</text:p>
+
 
+
<text:p text:style-name="P7">5. ibid.</text:p>
+
  
 
  <text:p text:style-name="P7">6. John Doe et al., "A Test Article with Multiple  
 
  <text:p text:style-name="P7">6. John Doe et al., "A Test Article with Multiple  
  Authors,&quot; Journal of Marginal Research 12, no. 44:361–78.Neil Brenner, &quot;The Urban
+
  Authors,&quot; Journal of Marginal Research 12, no. 44:361–78.</text:p>
Question as a Scale Question: Reflections on Henri Lefebre, Urban Theory and the Politics of
+
Scale," International Journal of Urban and Regional Research 24, no. 2:361–78.; John
+
Doe et al., A Test Article with Multiple Authors</text:p>
+
  
  <text:p text:style-name="P7">7. Newsweek, "The Grandmas Pay a Visit," 135, no.
+
  <text:p text:style-name="P7">Neil Brenner, "The Urban  Question as a Scale
  6:45., &quot;Perspectives,&quot; 135, no. 17:21.</text:p>
+
  Question: Reflections on Henri Lefebre, Urban Theory and the Politics of
 +
Scale," International Journal of Urban and Regional Research 24, no. 2:361–78.
 +
</text:p>
 +
 
 +
<text:p text:style-name="P7">John Doe et al., A Test Article with Multiple Authors</text:p>
  
<text:p text:style-name="P7">8. IW Davidson, CJ Lawson and IW Sutherland, &quot;An
 
alginate lysate from Azotobacter vinelandii phage.,&quot; J Gen Microbiol 98,:223–
 
9.</text:p>
 
 
   
 
   
 
  </text:index-body>
 
  </text:index-body>
Line 567: Line 575:
 
=== manifest.xml ===
 
=== manifest.xml ===
  
We have added to the manifest.xml file references to a bibliographic/data/biblio-data.xml file which contains the bibliographic reference data and bibliographic/styles/xxx file which points to the document style csl document which handles the bibliographic citation and table formating.
+
We have added to the manifest.xml file references to a bibliographic/data/biblio-data.xml file which contains the bibliographic reference data and bibliographic/styles/xxx file which points to the document style csl document which handles the bibliographic citation and table formating.
 +
 
 +
'''Note:''' Other items may be need to be declared in the manifest file to fully support the requirements of the [[Bibliographic/Writer enhancements for OOBib#The_Document_Style_package_contents. | Bibliographic Style Package]].
  
 
  <?xml version="1.0" encoding="UTF-8"?>
 
  <?xml version="1.0" encoding="UTF-8"?>
Line 593: Line 603:
 
  </manifest:manifest>
 
  </manifest:manifest>
  
Back to [[Bibliographic Project's Developer Page]]
+
===biblo-data.xml===
 +
 
 +
The biblio-data.xml file contains the the bibliographic reference data. Citations in the writer document link to references in this data file via a uri, such as <tt>urn:isbn:0226738892</tt>, in the sample below.
 +
 
 +
<pre>
 +
<rdf:RDF xmlns="http://purl.org/net/biblio#"
 +
        xmlns:dc="http://purl.org/dc/elements/1.1/"
 +
        xmlns:dcterms="http://purl.org/dc/terms/"
 +
        xmlns:foaf="http://xmlns.com/foaf/0.1/"
 +
        xmlns:vcard="http://nwalsh.com/rdf/vCard"
 +
        xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
 +
 
 +
  <Book rdf:about="urn:isbn:0226738892">
 +
      <author rdf:resource="schmitt-c"/>
 +
      <dc:title xml:lang="en">Political Theology: Four Chapters
 +
        on the Concept of Sovereignty</dc:title>
 +
      <translator rdf:resource="schwab-g"/>
 +
      <original rdf:resource="schmitt-1922"/>
 +
      <dc:publisher rdf:resource="chicago-press"/>
 +
      <dc:subject rdf:resource="http://example.net/topics#sovereignty"/>
 +
      <dc:subject rdf:resource="http://example.net/topics#political_theory"/>
 +
      <dc:date>2005</dc:date>
 +
  </Book>
 +
 
 +
  <Book rdf:ID="schmitt-1922">
 +
      <author rdf:resource="schmitt-c"/>
 +
      <dc:title xml:lang="de">Politische Theologie: Vier Kapital
 +
        zur Lehre von der Souveranitat</dc:title>
 +
      <dc:publisher rdf:resource="duncker-humbolt"/>
 +
      <dc:date>1922</dc:date>
 +
  </Book>
 +
 
 +
  <foaf:Person rdf:ID="schmitt-c">
 +
      <foaf:givenname>Carl</foaf:givenname>
 +
      <foaf:surname>Schmitt</foaf:surname>
 +
  </foaf:Person>
 +
 
 +
  <foaf:Person rdf:ID="schwab-g">
 +
      <foaf:givenname>George</foaf:givenname>
 +
      <foaf:surname>Schwab</foaf:surname>
 +
  </foaf:Person>
 +
 
 +
  <foaf:Organization rdf:ID="chicago-press">
 +
      <foaf:name>University of Chicago Press</foaf:name>
 +
      <vcard:adr>
 +
        <vcard:Address>
 +
          <vcard:locality>Chicago</vcard:locality>
 +
        </vcard:Address>
 +
      </vcard:adr>
 +
  </foaf:Organization>
 +
 
 +
</rdf:RDF>
 +
</pre>
 +
 
 +
Back to [[Bibliographic/Developer Page]]
 +
 
 +
 
 +
[[Category:Bibliographic]]

Latest revision as of 11:26, 28 March 2010

Sample Writer save file contents

Existing, modified and proposed files

OOo Writer save files are document.odt files. They contain a packaged of directories and files in a Zip archive. The list below shows the current, proposed new and modified files in the archive package. The precise contents depend on the document contents - pictures etc. (To examine the contents of a .odt file, re-name the file filename.zip and open it with a archive utility. The main document content file, content.xml, will be easier to read if you turn off the OpenOffice option: Options->Load/Save->General->'Size optimization for XML Format'.)

Current & Proposed Contents of a document.odt file

    /Bibliographic                   (new)
       /Data                         (new)  
          biblio-data.xml            (new)
       /Styles                       (new)
          chicago-note-b-en.csl      (new, Note: the style selected by the user)
   /Configurations2
   /META-INF:
          manifest.xml               (modified)	
   /Pictures
   /Thumbnails
          thumbnail.png
 content.xml                         (modified)
 meta.xml  
 styles.xml
 content.txt   
 mimetype  
 settings.xml 

We have described below content.xml, manifest.xml and biblio-data.xml. For details of CSL style files like chicago-note-b-en.csl see [1]. For a table comparing the existing and proposed save file structure see [2].

content.xml

Standard Header Stuff

The only change we have made to the headed stuff is adding, near the bottom, a tag to hold the use user's selection for the document style and the citation type, which could be number, in-text (ie Author-date), or footnote. The tag is -

<style:Biblio biblio-style:name="Chicago-en-a" biblio-style-type="number"/>

 <?xml version="1.0" encoding="UTF-8"?>
 <office:document-content xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" 
 xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" 
 xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" 
 xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" 
 xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" 
 xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" 
 xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" 
 xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" 
 xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" 
 xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" 
 xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" 
 xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" 
 xmlns:math="http://www.w3.org/1998/Math/MathML" 
 xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" 
 xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" 
 xmlns:ooo="http://openoffice.org/2004/office" xmlns:ooow="http://openoffice.org/2004/writer" 
 xmlns:oooc="http://openoffice.org/2004/calc" xmlns:dom="http://www.w3.org/2001/xml-events" 
 xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" office:version="1.0">
 <office:scripts/>
 <office:font-face-decls>
 <style:font-face style:name="StarSymbol" svg:font-family="StarSymbol" 
 style:font-charset="x-symbol"/>
 <style:font-face style:name="Tahoma1" svg:font-family="Tahoma"/>
 <style:font-face style:name="Gothic" svg:font-family="Gothic" style:font-pitch="variable"/>
 <style:font-face style:name="Mincho" svg:font-family="Mincho" style:font-pitch="variable"/>
 <style:font-face style:name="Tahoma" svg:font-family="Tahoma" style:font-pitch="variable"/>
 <style:font-face style:name="Times New Roman" svg:font-family="'Times New Roman'" 
 style:font-family-generic="roman" style:font-pitch="variable"/>
 <style:font-face style:name="Arial" svg:font-family="Arial" 
 style:font-family-generic="swiss" style:font-pitch="variable"/>
 </office:font-face-decls>
 <office:automatic-styles>
 <style:style style:name="P1" style:family="paragraph" style:parent-style-name="P7" 
 style:list-style-name="L1">
 <style:paragraph-properties fo:margin-top="0cm" fo:margin-bottom="0cm"/>
 </style:style>
 <style:style style:name="P2" style:family="paragraph" style:parent-style-name="P7" 
 style:list-style-name="L2">
 <style:paragraph-properties fo:margin-top="0cm" fo:margin-bottom="0cm"/>
 </style:style>
 <style:style style:name="P3" style:family="paragraph" style:parent-style-name="P7" 
 style:list-style-name="L3">
 <style:paragraph-properties fo:margin-top="0cm" fo:margin-bottom="0cm"/>
 </style:style>
 <style:style style:name="P4" style:family="paragraph" style:parent-style-name="P7" 
 style:list-style-name="L4">
 <style:paragraph-properties fo:margin-top="0cm" fo:margin-bottom="0cm"/>
 </style:style>
 <style:style style:name="P5" style:family="paragraph" style:parent-style-name="P7" 
 style:list-style-name="L5">
 <style:paragraph-properties fo:margin-top="0cm" fo:margin-bottom="0cm"/>
 </style:style>
 <style:style style:name="P6" style:family="paragraph" style:parent-style-name="P7" 
 style:list-style-name="L6"/>
 <style:style style:name="P7" style:family="paragraph" 
 style:parent-style-name="Bibliography_20_1">
 <style:paragraph-properties>
 <style:tab-stops/>
 </style:paragraph-properties>
 </style:style>
 <style:style style:name="Sect1" style:family="section">
 <style:section-properties style:editable="false">
 <style:columns fo:column-count="0" fo:column-gap="0cm"/>
 </style:section-properties>
 </style:style>
 <text:list-style style:name="L1">
 <text:list-level-style-bullet text:level="1" text:style-name="Bullet_20_Symbols" 
 style:num-suffix="." text:bullet-char="">
 <style:list-level-properties text:space-before="0.771cm" text:min-label-width="0.499cm"/>
 <style:text-properties style:font-name="StarSymbol"/>
 </text:list-level-style-bullet>
 <text:list-level-style-number text:level="2" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="1.27cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="3" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="1.905cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="4" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="2.54cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="5" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="3.175cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="6" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="3.81cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="7" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="4.445cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="8" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="5.08cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="9" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="5.715cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="10" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="6.35cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 </text:list-style>
 <text:list-style style:name="L2">
 <text:list-level-style-bullet text:level="1" text:style-name="Bullet_20_Symbols" 
 style:num-suffix="." text:bullet-char="">
 <style:list-level-properties text:space-before="0.771cm" text:min-label-width="0.499cm"/>
 <style:text-properties style:font-name="StarSymbol"/>
 </text:list-level-style-bullet>
 <text:list-level-style-number text:level="2" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="1.27cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="3" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="1.905cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="4" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="2.54cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="5" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="3.175cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="6" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="3.81cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="7" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="4.445cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="8" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="5.08cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="9" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="5.715cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="10" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="6.35cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 </text:list-style>
 <text:list-style style:name="L3">
 <text:list-level-style-bullet text:level="1" text:style-name="Bullet_20_Symbols" 
 style:num-suffix="." text:bullet-char="">
 <style:list-level-properties text:space-before="0.771cm" text:min-label-width="0.499cm"/>
 <style:text-properties style:font-name="StarSymbol"/>
 </text:list-level-style-bullet>
 <text:list-level-style-number text:level="2" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="1.27cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="3" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="1.905cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="4" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="2.54cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="5" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="3.175cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="6" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="3.81cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="7" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="4.445cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="8" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="5.08cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="9" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="5.715cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="10" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="6.35cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 </text:list-style>
 <text:list-style style:name="L4">
 <text:list-level-style-bullet text:level="1" text:style-name="Bullet_20_Symbols" 
 style:num-suffix="." text:bullet-char="">
 <style:list-level-properties text:space-before="0.771cm" text:min-label-width="0.499cm"/>
 <style:text-properties style:font-name="StarSymbol"/>
 </text:list-level-style-bullet>
 <text:list-level-style-number text:level="2" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="1.27cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="3" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="1.905cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="4" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="2.54cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="5" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="3.175cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="6" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="3.81cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="7" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="4.445cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="8" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="5.08cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="9" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="5.715cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="10" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="6.35cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 </text:list-style>
 <text:list-style style:name="L5">
 <text:list-level-style-bullet text:level="1" text:style-name="Bullet_20_Symbols" 
 style:num-suffix="." text:bullet-char="">
 <style:list-level-properties text:space-before="0.771cm" text:min-label-width="0.499cm"/>
 <style:text-properties style:font-name="StarSymbol"/>
 </text:list-level-style-bullet>
 <text:list-level-style-number text:level="2" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="1.27cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="3" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="1.905cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="4" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="2.54cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="5" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="3.175cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="6" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="3.81cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="7" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="4.445cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="8" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="5.08cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="9" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="5.715cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="10" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="6.35cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 </text:list-style>
 <text:list-style style:name="L6">
 <text:list-level-style-bullet text:level="1" text:style-name="Bullet_20_Symbols" 
 style:num-suffix="." text:bullet-char="">
 <style:list-level-properties text:space-before="0.771cm" text:min-label-width="0.499cm"/>
 <style:text-properties style:font-name="StarSymbol"/>
 </text:list-level-style-bullet>
 <text:list-level-style-number text:level="2" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="1.27cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="3" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="1.905cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="4" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="2.54cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="5" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="3.175cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="6" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="3.81cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="7" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="4.445cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="8" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="5.08cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="9" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="5.715cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="10" style:num-suffix="." style:num-format="1">
 <style:list-level-properties text:space-before="6.35cm" text:min-label-width="0.635cm"/>
 </text:list-level-style-number>
 </text:list-style>

 <style:Biblio biblio-style:name="Chicago-en-a" biblio-style-type=”number”/>
 
 </office:automatic-styles>
 <office:body>
 <office:text>
 <text:sequence-decls>
 <text:sequence-decl text:display-outline-level="0" text:name="Illustration"/>
 <text:sequence-decl text:display-outline-level="0" text:name="Table"/>
 <text:sequence-decl text:display-outline-level="0" text:name="Text"/>
 <text:sequence-decl text:display-outline-level="0" text:name="Drawing"/>
 </text:sequence-decls>

Document Text Contents

 <text:p text:style-name="Standard"/>
 <text:p text:style-name="P7">CiteProc supports the following features, depending on the 
 details of the style as specified in the <text:span 
 text:style-name="ACRONYM">CSL</text:span> file: </text:p>
 <text:list text:style-name="L1">
 <text:list-item>
 <text:p text:style-name="P1">Reference grouping and sorting 
 
 <text:p>Here is a paragraph with a citation 

 <text:bibliography-mark text:id="bib0">
 <cite:citation> 
  <cite:citation-source> 
    <cite:biblioref cite:key="Tilly2000a"/> 
    <cite:biblioref cite:key="Thrift1990a"/> 
    <cite:biblioref cite:key="Tilly2002a"/> 
  </cite:citation-source> 
 <cite:citation-body>
   <text:note text:id="ftn0" text:note-class="footnote"> 
   <text:note-citation>1</text:note-citation>
     <text:note-body> 
     <text:p text:style-name="Footnote">Nigel Thrift, "For a New Regional Geography 1,"
      Progress in Human Geography 14, no. 2:272–79.; Charles Tilly, "Review of Moral Economy
      and Popular Protest," Journal of Interdisciplinary History 31, no. 2:259–60., Stories,
      Identities, and Political Change (Lanham, MD: Rowman & Littlefield Publishers, Inc.,
      2002)</text:p>
     </text:note-body>
   </text:note> 
  </cite:citation-body>
 </cite:citation> 
 </text:p>
 </text:bibliography-mark>

 </text:p>
 </text:list-item>
 </text:list>
 <text:list text:style-name="L2">
 <text:list-item>
 <text:p text:style-name="P2">Point citation locator details such as page 

 <text:bibliography-mark text:id="bib1">
  <text:p>Here is a paragraph with a citation 
  <cite:citation> 
    <cite:citation-source> 
        <cite:biblioref cite:key="Veer1996a"/> 
    </cite:citation-source> 
    <cite:citation-body>
       <text:note text:id="ftn1" text:note-class="footnote"> 
         <text:note-citation>2</text:note-citation>
         <text:note-body> 
          <text:p text:style-name="Footnote">Peter van der Veer (1996) Riots and Rituals:
          The Construction of Violence and Public Space in Hindu Nationalism, 
          In Paul Brass Ed., Riots and Pogroms (New York:NYU Press) 154-76.</text:p>
         </text:note-body>
     </text:note> 
 </cite:citation-body>
 </cite:citation> 
 </text:p>
 </text:bibliography-mark>

 and paragraph numbers. </text:p>
 </text:list-item>
 </text:list>
 <text:list text:style-name="L3">
 <text:list-item>
 <text:p text:style-name="P3">First and subsequent citation handling 

 <text:bibliography-mark text:id="bib2">
 <cite:citation> 
   <cite:citation-source> 
       <cite:biblioref cite:key="Thrift1990a"/> 
   </cite:citation-source> 
   <cite:citation-body>
     <text:note text:id="ftn2" text:note-class="footnote"> 
       <text:note-citation>3</text:note-citation>
       <text:note-body> 
         <text:p text:style-name="Footnote">Nigel Thrift, For a New Regional 
         Geography 1</text:p>
       </text:note-body>
     </text:note> 
     </cite:citation-body>
 </cite:citation> 
 </text:bibliography-mark>

 </text:p>
 </text:list-item>
 </text:list>
 <text:list text:style-name="L4">
 <text:list-item>
 <text:p text:style-name="P4">Coding for note-based citations is fully consistent with 
 that for other citation classes. One need not manually place a citation in a footnote or use 
 a special command like footcite to have it rendered as a note.

 <text:bibliography-mark text:id="bib3">
 <cite:citation> 
  <cite:citation-source> 
      <cite:biblioref cite:key="Tilly2002a"/> 
  </cite:citation-source> 
  <cite:citation-body>
     <text:note text:id="ftn3" text:note-class="footnote"> 
       <text:note-citation>4</text:note-citation>
       <text:note-body> <text:p text:style-name="Footnote">Nigel Thrift, For a New 
        Regional Geography 1</text:p>
    </text:note-body>
   </text:note> 
   </cite:citation-body>
 </cite:citation> 
 </text:bibliography-mark>

 This greatly simplifies radical style changes. </text:p>
 </text:list-item>
 </text:list>
 <text:list text:style-name="L5">
 <text:list-item>
 <text:p text:style-name="P5">Both ibid. 

<text:bibliography-mark text:id="bib4">
<cite:citation> 
  <cite:citation-source> 
      <cite:biblioref cite:key="Tilly2002a"/> 
  </cite:citation-source> 
  <cite:citation-body>
    <text:note text:id="ftn4" text:note-class="footnote"> 
      <text:note-citation>5</text:note-citation>
      <text:note-body> <text:p text:style-name="Footnote">ibid.</text:p>
    </text:note-body>
    </text:note> 
  </cite:citation-body>
 </cite:citation> 
 </text:bibliography-mark>

 <text:bibliography-mark text:id="bib5">
<cite:citation> 
  <cite:citation-source> 
    <cite:biblioref cite:key="Tilly2002a"/> 
  </cite:citation-source> 
  <cite:citation-body>
     <text:note text:id="ftn5" text:note-class="footnote"> 
       <text:note-citation>6</text:note-citation>
       <text:note-body> <text:p text:style-name="Footnote">ibid.</text:p>
     </text:note-body>
   </text:note> 
</cite:citation-body>
 </cite:citation> 

<text:bibliography-mark text:id="bib6">
<cite:citation> 
  <cite:citation-source> 
    <cite:biblioref cite:key="DoeJ2002a"/> 
  </cite:citation-source> 
  <cite:citation-body>
     <text:note text:id="ftn6" text:note-class="footnote"> 
       <text:note-citation>7</text:note-citation>
       <text:note-body> 
          <text:p text:style-name="Footnote"> John Doe et al., "A Test Article with
           Multiple Authors," Journal of Marginal Research 12, no. 44:361–78.</text:p>
     </text:note-body>
    </text:note> 
  </cite:citation-body>
 </cite:citation> 
 </text:bibliography-mark>

 and subsequent 

 <text:bibliography-mark text:id="bib7">
 <cite:citation> 
   <cite:citation-source> 
	<cite:biblioref cite:key="DoeJ2002a"> 
        <cite:biblioref cite:key="Brenner2000a"> 
        <cite:biblioref cite:key="DoeJ2002a"> 
  </cite:citation-source> 
  <cite:citation-body>
      <text:note text:id="ftn7" text:note-class="footnote"> 
        <text:note-citation>8</text:note-citation>
        <text:note-body> 
            <text:p text:style-name="Footnote">6.  John Doe et al., "A Test Article 
             with Multiple Authors," Journal of Marginal Research 12, no. 44:361–78. 
             Neil Brenner, "The Urban Question as a Scale Question: Reflections on 
             Henri Lefebre, Urban Theory and the Politics of Scale," International 
             Journal of Urban and Regional Research 24, no. 2:361–78.; John Doe et al.
             A Test Article with Multiple Authors</text:p>
       </text:note-body>
     </text:note> 
   </cite:citation-body>
 </cite:citation> 
 </text:bibliography-mark>

 </text:p>
 </text:list-item>
 </text:list>
 <text:list text:style-name="L6">
 <text:list-item>
 </text:p>
 </text:list-item>
 </text:list>

Bibliographic Table

 <text:index-body>
   <text:bibliography text:style-name="Sect1" text:protected="true" text:name="Bibliography1">
 <text:index-body>
 <text:index-title text:style-name="Sect1" text:name="Bibliography1_Head">
   <text:p text:style-name="Bibliography_20_Heading">Bibliography</text:p>
 </text:index-title>
 <text:h text:style-name="Heading_20_3" text:outline-level="3">Notes</text:h>

 <text:p text:style-name="P7">Nigel Thrift, "For a New Regional Geography 1," 
 Progress in Human Geography 14, no. 2:272–79.</text:p>

 <text:p text:style-name="P7">Charles Tilly, "Review of Moral Economy 
 and Popular Protest," Journal of Interdisciplinary History 31, no. 2:259–60., Stories, 
 Identities, and Political Change (Lanham, MD: Rowman & Littlefield Publishers, Inc., 
 2002).</text:p>

 <text:p text:style-name="P7">Peter van der Veer, Riots and Rituals: The Construction of 
 Violence and Public Space in Hindu Nationalism, In Riots and Pogroms ed. Paul Brass (New 
 York: NYU Press), 154–76.</text:p>

 <text:p text:style-name="P7">3. Nigel Thrift, For a New Regional Geography 1</text:p>

 <text:p text:style-name="P7">Charles Tilly, Stories, Identities, and  Political Change</text:p>

 <text:p text:style-name="P7">6. John Doe et al., "A Test Article with Multiple 
 Authors," Journal of Marginal Research 12, no. 44:361–78.</text:p>

 <text:p text:style-name="P7">Neil Brenner, "The Urban  Question as a Scale 
 Question: Reflections on Henri Lefebre, Urban Theory and the Politics of 
 Scale," International Journal of Urban and Regional Research 24, no. 2:361–78.
 </text:p>

 <text:p text:style-name="P7">John Doe et al., A Test Article with Multiple Authors</text:p>

 
 </text:index-body>
 </text:bibliography>

Footer Stuff

 </office:text>
 </office:body>
 </office:document-content>

manifest.xml

We have added to the manifest.xml file references to a bibliographic/data/biblio-data.xml file which contains the bibliographic reference data and bibliographic/styles/xxx file which points to the document style csl document which handles the bibliographic citation and table formating.

Note: Other items may be need to be declared in the manifest file to fully support the requirements of the Bibliographic Style Package.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE manifest:manifest PUBLIC "-//OpenOffice.org//DTD Manifest 1.0//EN" "Manifest.dtd">
<manifest:manifest xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0">
<manifest:file-entry manifest:media-type=
"application/vnd.oasis.opendocument.text" manifest:full-path="/"/>
<manifest:file-entry manifest:media- type=
"application/vnd.sun.xml.ui.configuration" manifest:full- path="Configurations2/"/>
<manifest:file-entry manifest:media-type="" manifest:full-path="Pictures/"/>
<manifest:file-entry manifest:media-type=
"text/xml" manifest:full-path="content.xml"/>
<manifest:file-entry manifest:media-type=
"text/xml" manifest:full-path="styles.xml"/>
<manifest:file-entry manifest:media-type=
"text/xml" manifest:full-path="meta.xml"/>
<manifest:file-entry manifest:media-type="" manifest:full-path="Thumbnails/thumbnail.png"/>
<manifest:file-entry manifest:media-type="" manifest:full-path="Thumbnails/"/>
<manifest:file-entry manifest:media-type=
"text/xml" manifest:full-path="settings.xml"/>
<manifest:file-entry  manifest:media-type="" 
manifest:full- path="bibliographic/data/biblio-data.xml"/>
<manifest:file-entry  manifest:media-type=""
manifest:full-path="bibliographic/styles/chicago-note-b-en.cls.csl"/>
</manifest:manifest>

biblo-data.xml

The biblio-data.xml file contains the the bibliographic reference data. Citations in the writer document link to references in this data file via a uri, such as urn:isbn:0226738892, in the sample below.

<rdf:RDF xmlns="http://purl.org/net/biblio#" 
         xmlns:dc="http://purl.org/dc/elements/1.1/"
         xmlns:dcterms="http://purl.org/dc/terms/" 
         xmlns:foaf="http://xmlns.com/foaf/0.1/" 
         xmlns:vcard="http://nwalsh.com/rdf/vCard"
         xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">

   <Book rdf:about="urn:isbn:0226738892">
      <author rdf:resource="schmitt-c"/>
      <dc:title xml:lang="en">Political Theology: Four Chapters 
        on the Concept of Sovereignty</dc:title>
      <translator rdf:resource="schwab-g"/>
      <original rdf:resource="schmitt-1922"/>
      <dc:publisher rdf:resource="chicago-press"/>
      <dc:subject rdf:resource="http://example.net/topics#sovereignty"/>
      <dc:subject rdf:resource="http://example.net/topics#political_theory"/>
      <dc:date>2005</dc:date>
   </Book>

   <Book rdf:ID="schmitt-1922">
      <author rdf:resource="schmitt-c"/>
      <dc:title xml:lang="de">Politische Theologie: Vier Kapital 
        zur Lehre von der Souveranitat</dc:title>
      <dc:publisher rdf:resource="duncker-humbolt"/>
      <dc:date>1922</dc:date>
   </Book>

   <foaf:Person rdf:ID="schmitt-c">
      <foaf:givenname>Carl</foaf:givenname>
      <foaf:surname>Schmitt</foaf:surname>
   </foaf:Person>

   <foaf:Person rdf:ID="schwab-g">
      <foaf:givenname>George</foaf:givenname>
      <foaf:surname>Schwab</foaf:surname>
   </foaf:Person>

   <foaf:Organization rdf:ID="chicago-press">
      <foaf:name>University of Chicago Press</foaf:name>
      <vcard:adr>
        <vcard:Address>
           <vcard:locality>Chicago</vcard:locality>
        </vcard:Address>
      </vcard:adr>
  </foaf:Organization>

</rdf:RDF>

Back to Bibliographic/Developer Page

Personal tools