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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] Empty tag with attribute effective for parsing?

[ Lists Home | Date Index | Thread Index ]
  • To: "Sebastian Rohde" <Rohde@bluebyte.de>
  • Subject: RE: [xml-dev] Empty tag with attribute effective for parsing?
  • From: "Manos Batsis" <m.batsis@bsnet.gr>
  • Date: Thu, 1 Aug 2002 16:03:57 +0300
  • Cc: <xml-dev@lists.xml.org>
  • Thread-index: AcI5W4G4qEuMs85tQeef0WLB0zb5TwAAAn+Q
  • Thread-topic: [xml-dev] Empty tag with attribute effective for parsing?


> From: Sebastian Rohde [mailto:Rohde@bluebyte.de] 


> > the second one for a variety of reasons (accessibility,
> > content re-use, stylesheet use, interoperability, etc...).
> But would it be faster? Or is there no difference in speed? 
> I don't know much about parsers and my greatest requirement 
> is speed(Mostly
> with the SAX parser).

Although I might agree with Sebastian on data for use in web pages, I
tent to use attributes whenever possible unless I need control over
whitespace. This results in smaller filesizes and seems more readable
(to me at least). I don't thing there is any important difference in
speed though...

Manos




 

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

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