[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Antwort: XML Conversion

  • From: henry_fieglein@d...
  • To: xml-dev@i..., jess_nemis@i...
  • Date: Mon, 8 Nov 1999 10:15:43 +0100

jess nemis
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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.