[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Antwort: XML Conversion
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@i... on 08.11.99 19:59:21 Bitte antworten an jess_nemis@i... An: xml-dev@i... 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@i... xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1 To unsubscribe, mailto:majordomo@i... the following message; unsubscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...) xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1 To unsubscribe, mailto:majordomo@i... the following message; unsubscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|