[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Attributes v Elements

  • From: Duane Nickull <duane@x...>
  • To: Tim Bray <tbray@t...>, xml-dev@l...
  • Date: Sun, 20 May 2001 13:38:27 -0700

parsing attribute to element
> You know, normally I agree with Duane, but this is two postings in a
> row where I'm raising my eyebrows.  Avoiding mixed content is highly
> sensible when you're serializing data structures that don't embed
> thingies in streams of text, the simple and natural thing to do when
> you are.  For example, doing XHTML in the absence of mixed content
> would be horribly painful. One of the nice things about XML is that it
> usually can model the data the way it actually is, not the way you want
> to idealize it.
> >>>>>>>>>

Tim:

Sorry for the late reply - I am still stuck in Europe since ebXML.

Yes - you are (as usual) correct.  XHTML would just not be as much fun
without mixed content.

I was merely referring to my domain, business use,  where my personal
experiences with parsers returning funny results from mixed content XML made
me ( and others like yourself) generally avoid it whenever possible.  I
haven't tried lately to see what a SAX and DOM parsing of mixed content
returns so I may be a bit dated.

Does anyone else have any recent experiences parsing mixed content with
inconsistent results between DOM and SAX methods???

Duane Nickull



PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.