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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Empty tag with attribute effective for parsing?

[ Lists Home | Date Index | Thread Index ]

Hi,

I have data(texts), which belong to a specific name
By design there are two possibilities how i could solve this:
1.
<stringtable>
   <string id="Greetings" val="Happy new year"/>
   <string id="Greetings2" val="Happy birthday"/>
</stringtable>

2.
<stringtable>
   <string id="Greetings">Happy new year</string>
   <string id="Greetings2">Happy birthday</string>
</stringtable>

Which of these two possibilitites would be more effective to parse?(Xerces
c++, two parsing methods are used, SAX and DOM)
I would be very happy if you could help me with that.

Sebastian Rohde




 

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

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