Antwort: XML Conversion

henry_fieglein at dgbank.de henry_fieglein at dgbank.de
Mon Nov 8 09:16:25 GMT 1999


I would define the DTD as follows:

<!ELEMENT cite EMPTY>
<!ATTLIST cite
 title CDATA #REQUIRED
 author CDATA #REQUIRED
 pages CDATA #REQUIRED
 publisher CDATA #REQUIRED
 pubyear CDATA #REQUIRED
>

which gives the following XML file:

<cite title="The Origin of Species" author="Darwin" pages="6-10"
publisher="Oxford University Press" pubyear="1901">

The separation of the data allows for better searching and indexing later.  It
also aides in the conversion to HTML when you want to publish it on the Web.
The XSL script to convert the data could be set based on the various library
formats.





jess_nemis at inod.com on 08.11.99 19:59:21

Bitte antworten an jess_nemis at inod.com

An:   xml-dev at ic.ac.uk
Kopie:     (Blindkopie: Henry Fieglein/F-OIHE/OI/DG BANK)
Thema:    XML Conversion




     Hello,

     I'm a newbie in XML Conversion and we're being tasked to transform a
     plain text file into XML.  We've done this in SGML before and learned
     also that XML is actually Web-enabled SGML.  However, we noticed that
     the extensive use of taggings (elements) in XML has slowed down our
     productivity considerably.

     Now my question is: is it really necessary to tag all items, say, in a
     bibliographic reference, e.g.

      XML Specs now:

       <cite><title>The Origin of Species</title>, <author>Darwin</author>
       <pages>pp. 6-10</pages> <pubinfo><pub>Oxford University Press</pub>,
       <year>1901</year></pubinfo></cite>

      SGML Specs before:

      <cite>The origin of Species, Darwin, pp. 6-10, Oxford University
      Press, 1901.</cite>

      Links were provided to citerefs within the document.

     What's the difference between the two, the rationale behind use of
     extensive tags in XML, and when are decisions going to be made that
     such data should or should not be tagged?

     Thank you all for giving these some thoughts.

     Regards,
     Jess Nemis
     jess_nemis at inod.com


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at 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 at ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)








xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at 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 at ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list