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

  • To: xml-dev <xml-dev@l...>
  • Subject: RE: Effective DOM (was RE: Effective XML)
  • From: "Champion, Mike" <Mike.Champion@S...>
  • Date: Thu, 3 Jan 2002 11:54:27 -0700



> -----Original Message-----
> From: Ronald Bourret [mailto:rpbourret@r...]
> Sent: Thursday, January 03, 2002 1:29 PM
> To: xml-dev
> Subject: Re:  Effective DOM (was RE:  Effective XML)
> 
> 

> I'd also include a utility to do complete "normalization". That is,
> (recursively) replace entity references with their children and merge
> CDATA sections with adjoining text nodes. (In my case, I also delete
> comments and PIs, but this presumably wouldn't occur in the general
> case.)

Level 3 has a lot of this.  I'm a bit fuzzy on the details off the top of my
head (there *is* a mother-of-all-normalization methods, and ways to filter
out unwanted stuff on load), but I would strongly recommend that people read
the various Level 3 specs linked off http://www.w3.org/DOM/DOMTR and comment
to mailto:www-dom@w... if it's not what you need.

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