[Home] [By Thread] [By Date] [Recent Entries]

  • To: "Sebastian Rohde" <Rohde@b...>
  • Subject: RE: Empty tag with attribute effective for parsing?
  • From: "Manos Batsis" <m.batsis@b...>
  • Date: Thu, 1 Aug 2002 16:52:32 +0300
  • Cc: <xml-dev@l...>
  • Thread-index: AcI5YBh1UPF4h21lRPqLckssYjSi4gAAjlxg
  • Thread-topic: Empty tag with attribute effective for parsing?

Yup. Check the link for details.

http://www.w3.org/TR/REC-xml#AVNormalize

Cheers,

Manos


> -----Original Message-----
> From: Sebastian Rohde [mailto:Rohde@b...] 
> Sent: Thursday, August 01, 2002 4:33 PM
> To: Manos Batsis
> Cc: xml-dev@l...
> Subject: AW:  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:m.batsis@b...]
> Gesendet: Donnerstag, 1. August 2002 15:04
> An: Sebastian Rohde
> Cc: xml-dev@l...
> Betreff: RE:  Empty tag with attribute effective for parsing?
> 
> 
> 
> > From: Sebastian Rohde [mailto:Rohde@b...] 
> 
> 
> > > 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
> 

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member