OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: bibiography dtd?

[ Lists Home | Date Index | Thread Index ]
  • From: Warren Hedley <w.hedley@auckland.ac.nz>
  • To: "Reynolds, Gregg" <greynolds@datalogics.com>
  • Date: Tue, 09 Nov 1999 09:52:22 +1300

Hi Gregg

I faced the same problem as you 6 months ago (actually, I'm just
ignoring it now), and had a look at the docbook DTD but found it
too vast and complicated to follow initially. I ended up cutting
out just the bibliography section for inclusion into my own DTDs.
That DTD module is included below - if this wraps unusably in
your mail window (as has been known to happen), let me know, and
I'll send it to you as an attachment.

If you spot anything simpler, or pretty much any other bibliography
DTDs, please let me know.

Hope this helps.


<!--****************************************************************************
FILE : cell-references.mod

AUTHOR : Warren Hedley
         Department of Engineering Science
         University of Auckland

CREATED : 22 March 1999

LAST MODIFIED : 23 March 1999

  This DTD module defines the elements associated with making references to
books or articles from CellML. It is a stripped down version of the DocBook
"dbpoolx.mod", removing references to other modules, and some extraneous
elements. The top level element is <biblioentry>, which should be used for
all referencing. This requires "cell-basic.mod" to be included for some
attributes.

It is possible there are bugs in this module - some elements have been removed
or have been listed in content models and then not defined. Please report bugs
to the author (see above).

The source DocBook modules (in XML form) can be found at
   http://nwalsh.com/docbook/
and the original SGML DocBook comes from
   http://www.oasis-open.org/docbook/

CHANGES :
=============================================================================-->

<!ENTITY % docbook.core.attrs
 "id       ID      #IMPLIED
  xmlns    CDATA   #FIXED 'http://www.oasis-open.org/docbook/'">

<!-- ...................................................................... -->
<!-- Bibliographic entities and elements .................................. -->

<!-- The bibliographic elements are typically used in the document
     hierarchy. They do not appear in content models of information
     pool elements.  See also the document information elements,
     below. -->

<!-- note : the <authorblurb> element was removed -->
<!ENTITY % person.ident.mix
		"honorific|firstname|surname|lineage|othername|affiliation|contrib">

<!ENTITY % bibliocomponent.mix
		"abbrev|abstract|address|artpagenums|author
		|authorgroup|authorinitials
		|collab|confgroup|contractnum|contractsponsor
		|copyright|corpauthor|corpname|date|edition
		|editor|invpartnumber|isbn|issn|issuenum|orgname
		|othercredit|pagenums|printhistory|productname
		|productnumber|pubdate|publisher|publishername
		|pubsnumber|releaseinfo|revhistory|seriesvolnums
		|subtitle|title|titleabbrev|volumenum
		|%person.ident.mix;">

<!ELEMENT biblioentry ((artheader | bookbiblio | seriesinfo
	| (%bibliocomponent.mix;))+)>
<!ATTLIST biblioentry %docbook.core.attrs;>

<!ELEMENT bookbiblio ((%bibliocomponent.mix; | seriesinfo)+)>
<!ATTLIST bookbiblio %docbook.core.attrs;>

<!ELEMENT seriesinfo ((%bibliocomponent.mix;)+)>
<!ATTLIST seriesinfo %docbook.core.attrs;>

<!ELEMENT artheader ((%bibliocomponent.mix; | bookbiblio)+)>
<!ATTLIST artheader %docbook.core.attrs;>



<!-- Personal identity elements ....... -->

<!-- These elements are used only within Author, Editor, and 
OtherCredit. -->

<!ELEMENT contrib (#PCDATA)>
<!ATTLIST contrib %docbook.core.attrs;>

<!ELEMENT firstname (#PCDATA)>
<!ATTLIST firstname %docbook.core.attrs;>

<!ELEMENT honorific (#PCDATA)>
<!ATTLIST honorific %docbook.core.attrs;>

<!ELEMENT lineage (#PCDATA)>
<!ATTLIST lineage %docbook.core.attrs;>

<!ELEMENT othername (#PCDATA)>
<!ATTLIST othername %docbook.core.attrs;>

<!ELEMENT surname (#PCDATA)>
<!ATTLIST surname %docbook.core.attrs;>

<!ELEMENT affiliation (shortaffil?, jobtitle*, orgname?, orgdiv*, address*)>
<!ATTLIST affiliation %docbook.core.attrs;>

<!ELEMENT shortaffil (#PCDATA)>
<!ATTLIST shortaffil %docbook.core.attrs;>

<!ELEMENT jobtitle (#PCDATA)>
<!ATTLIST jobtitle %docbook.core.attrs;>


<!-- biblioentry children ............. -->

<!-- Address .......................... -->

<!ELEMENT address (#PCDATA|street|pob|
  postcode|city|state|country|phone|fax|email|otheraddr)*>
<!ATTLIST address %docbook.core.attrs;>

<!ELEMENT street (#PCDATA)>
<!ATTLIST street %docbook.core.attrs;>

<!ELEMENT pob (#PCDATA)>
<!ATTLIST pob %docbook.core.attrs;>

<!ELEMENT postcode (#PCDATA)>
<!ATTLIST postcode %docbook.core.attrs;>

<!ELEMENT city (#PCDATA)>
<!ATTLIST city %docbook.core.attrs;>

<!ELEMENT state (#PCDATA)>
<!ATTLIST state %docbook.core.attrs;>

<!ELEMENT country (#PCDATA)>
<!ATTLIST country %docbook.core.attrs;>

<!ELEMENT phone (#PCDATA)>
<!ATTLIST phone %docbook.core.attrs;>

<!ELEMENT fax (#PCDATA)>
<!ATTLIST fax %docbook.core.attrs;>

<!ELEMENT email (#PCDATA)>
<!ATTLIST email %docbook.core.attrs;>

<!ELEMENT otheraddr (#PCDATA)>
<!ATTLIST otheraddr %docbook.core.attrs;>

<!-- ArtPageNums ...................... -->

<!ELEMENT artpagenums (#PCDATA)>
<!ATTLIST artpagenums %docbook.core.attrs;>

<!-- Author ........................... -->

<!ELEMENT author ((%person.ident.mix;)+)>
<!ATTLIST author %docbook.core.attrs;>

<!-- AuthorGroup ...................... -->

<!ELEMENT authorgroup ((author|editor|collab|corpauthor|othercredit)+)>
<!ATTLIST authorgroup %docbook.core.attrs;>

<!ELEMENT collab (collabname, affiliation*)>
<!ATTLIST collab %docbook.core.attrs;>

<!ELEMENT collabname (#PCDATA)>
<!ATTLIST collabname %docbook.core.attrs;>

<!-- AuthorInitials ................... -->

<!ELEMENT authorinitials (#PCDATA)>
<!ATTLIST authorinitials %docbook.core.attrs;>

<!-- ConfGroup ........................ -->

<!ELEMENT confgroup ((confdates|conftitle|confnum|address|confsponsor)*)>
<!ATTLIST confgroup %docbook.core.attrs;>

<!ELEMENT confdates (#PCDATA)>
<!ATTLIST confdates %docbook.core.attrs;>

<!ELEMENT conftitle (#PCDATA)>
<!ATTLIST conftitle %docbook.core.attrs;>

<!ELEMENT confnum (#PCDATA)>
<!ATTLIST confnum %docbook.core.attrs;>

<!ELEMENT confsponsor (#PCDATA)>
<!ATTLIST confsponsor %docbook.core.attrs;>

<!-- ContractNum ...................... -->

<!ELEMENT contractnum (#PCDATA)>
<!ATTLIST contractnum %docbook.core.attrs;>

<!-- ContractSponsor .................. -->

<!ELEMENT contractsponsor (#PCDATA)>
<!ATTLIST contractsponsor %docbook.core.attrs;>

<!-- Copyright ........................ -->

<!ELEMENT copyright (year+, holder*)>
<!ATTLIST copyright %docbook.core.attrs;>

<!ELEMENT year (#PCDATA)>
<!ATTLIST year %docbook.core.attrs;>

<!ELEMENT holder (#PCDATA)>
<!ATTLIST holder %docbook.core.attrs;>

<!-- CorpAuthor ....................... -->

<!ELEMENT corpauthor (#PCDATA)>
<!ATTLIST corpauthor %docbook.core.attrs;>

<!-- CorpName ......................... -->

<!ELEMENT corpname (#PCDATA)>
<!ATTLIST corpname %docbook.core.attrs;>

<!-- Date ............................. -->

<!ELEMENT date (#PCDATA)>
<!ATTLIST date %docbook.core.attrs;>

<!-- Edition .......................... -->

<!ELEMENT edition (#PCDATA)>
<!ATTLIST edition %docbook.core.attrs;>

<!-- Editor ........................... -->

<!ELEMENT editor ((%person.ident.mix;)+)>
<!ATTLIST editor %docbook.core.attrs;>

<!-- ISBN ............................. -->

<!ELEMENT isbn (#PCDATA)>
<!ATTLIST isbn %docbook.core.attrs;>

<!-- ISSN ............................. -->

<!ELEMENT issn (#PCDATA)>
<!ATTLIST issn %docbook.core.attrs;>

<!-- InvPartNumber .................... -->

<!ELEMENT invpartnumber (#PCDATA)>
<!ATTLIST invpartnumber %docbook.core.attrs;>

<!-- IssueNum ......................... -->

<!ELEMENT issuenum (#PCDATA)>
<!ATTLIST issuenum %docbook.core.attrs;>

<!-- LegalNotice ...................... -->

<!ELEMENT legalnotice (#PCDATA)>
<!ATTLIST legalnotice %docbook.core.attrs;>

<!-- OrgName .......................... -->

<!ELEMENT orgname (#PCDATA)>
<!ATTLIST orgname %docbook.core.attrs;>

<!-- OrgDiv ........................... -->

<!ELEMENT orgdiv (#PCDATA)>
<!ATTLIST orgdiv %docbook.core.attrs;>

<!-- OtherCredit ...................... -->

<!ELEMENT othercredit ((%person.ident.mix;)+)>
<!ATTLIST othercredit %docbook.core.attrs;>

<!-- PageNums ......................... -->

<!ELEMENT pagenums (#PCDATA)>
<!ATTLIST pagenums %docbook.core.attrs;>

<!-- PrintHistory ..................... -->

<!ELEMENT printhistory (#PCDATA)>
<!ATTLIST printhistory %docbook.core.attrs;>

<!-- ProductName ...................... -->

<!ELEMENT productname (#PCDATA)>
<!ATTLIST productname %docbook.core.attrs;
  class (service|trade|registered|copyright)	'trade'>

<!-- ProductNumber .................... -->

<!ELEMENT productnumber (#PCDATA)>
<!ATTLIST productnumber %docbook.core.attrs;>

<!-- PubDate .......................... -->

<!ELEMENT pubdate (#PCDATA)>
<!ATTLIST pubdate %docbook.core.attrs;>

<!-- Publisher ........................ -->

<!ELEMENT publisher (publishername, address*)>
<!ATTLIST publisher %docbook.core.attrs;>

<!ELEMENT publishername (#PCDATA)>
<!ATTLIST publishername %docbook.core.attrs;>

<!-- PubsNumber ....................... -->

<!ELEMENT pubsnumber (#PCDATA)>
<!ATTLIST pubsnumber %docbook.core.attrs;>

<!-- ReleaseInfo ...................... -->

<!ELEMENT releaseinfo (#PCDATA)>
<!ATTLIST releaseinfo %docbook.core.attrs;>

<!-- RevHistory ....................... -->

<!ELEMENT revhistory (revision+)>
<!ATTLIST revhistory %docbook.core.attrs;>

<!ELEMENT revision (revnumber, date, authorinitials*, revremark?)>
<!ATTLIST revision %docbook.core.attrs;>

<!ELEMENT revnumber (#PCDATA)>
<!ATTLIST revnumber %docbook.core.attrs;>

<!ELEMENT revremark (#PCDATA)>
<!ATTLIST revremark %docbook.core.attrs;>

<!-- SeriesVolNums .................... -->

<!ELEMENT seriesvolnums (#PCDATA)>
<!ATTLIST seriesvolnums %docbook.core.attrs;>

<!-- VolumeNum ........................ -->

<!ELEMENT volumenum (#PCDATA)>
<!ATTLIST volumenum %docbook.core.attrs;>

<!-- ...................................................................... -->
<!-- Title elements ....................................................... -->

<!ELEMENT title (#PCDATA)>
<!ATTLIST title %docbook.core.attrs;>

<!ELEMENT titleabbrev (#PCDATA)>
<!ATTLIST titleabbrev %docbook.core.attrs;>

<!ELEMENT subtitle (#PCDATA)>
<!ATTLIST subtitle %docbook.core.attrs;>

<!-- General words and phrases ............................................ -->

<!ELEMENT abbrev (#PCDATA)>
<!ATTLIST abbrev %docbook.core.attrs;>

<!-- ...................................................................... -->
<!-- Paragraph-related elements ........................................... -->

<!ELEMENT abstract (#PCDATA)>
<!ATTLIST abstract %docbook.core.attrs;>




-- 
Warren Hedley
Department of Engineering Science
Auckland University
New Zealand

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)



  • References:



 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS