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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: xml style questions

[ Lists Home | Date Index | Thread Index ]
  • From: Kay Michael <Michael.Kay@icl.com>
  • To: "'Mark D. Anderson'" <mda@discerning.com>, XML Dev <xml-dev@ic.ac.uk>
  • Date: Tue, 2 Mar 1999 13:28:53 -0000

> 
> any words of wisdom regarding:
> 
> 1) having an extra collection layer in the xml tree, 
> 2) having PCDATA vs. having a distinct "comment" or 
> "description" element child:

Firstly, the extra markup can be used to impose extra validity constraints,
which means you application has to do less checking.

Secondly, the extra markup can make XSL stylesheets a lot easier to write.
(In fact, without it they can be impossible...)

So if you're auto-generating the XML and if space isn't at a premium I would
include the extra tags. If it's manually edited it's a different story...

Mike Kay

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 (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe 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)





 

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

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