Next in thread → Next in month →

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

From
Sebastian Rohde <>
To
'Manos Batsis' <>
Date
2002-08-01T13:32:33Z
ID
<B3977F23833B8348B9C5732A83A8EFA62157F9@BBMAIL>
Thread
AW: [xml-dev] Empty tag with attribute effective for parsing?
Concerning whitespaces - Would it be a problem to have carriage returns
within an attribute?

Sebastian

-----Ursprüngliche Nachricht-----
Von: Manos Batsis [mailto:]
Gesendet: Donnerstag, 1. August 2002 15:04
An: Sebastian Rohde
Cc: 
Betreff: RE: [xml-dev] Empty tag with attribute effective for parsing?



> From: Sebastian Rohde [mailto:] 


> > 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
Next in thread → Next in month →