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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   xml style questions

[ Lists Home | Date Index | Thread Index ]
  • From: "Mark D. Anderson" <mda@discerning.com>
  • To: "XML Dev" <xml-dev@ic.ac.uk>
  • Date: Mon, 1 Mar 1999 13:01:19 -0800

before you scream, this isn't about style sheets, and it
isn't about attributes vs. elements.
rather, this is more how to structure your document/data.

any words of wisdom regarding:

1) having an extra collection layer in the xml tree, like
<root><things><thing></thing><thing></thing></things><another></another></root>
vs.
<root>><thing></thing><thing></thing><another></another></root>

2) having PCDATA vs. having a distinct "comment" or "description" element child:
<thing a="1" b="2">
this is the description of this thing
<some_child></some_child>
</thing>
vs.
<thing a="1" b="2">
<desc>this is the description of this thing</desc>
<some_child></some_child>
</thing>

-mda



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