RE: [xml-dev] Effective DOM (was RE: [xml-dev] Effective XML)

From
Champion, Mike <>
To
xml-dev <>
Date
2002-01-03T18:54:27Z
ID
<>
Thread
RE: [xml-dev] Effective DOM (was RE: [xml-dev] Effective XML)
> -----Original Message-----
> From: Ronald Bourret [mailto:]
> Sent: Thursday, January 03, 2002 1:29 PM
> To: xml-dev
> Subject: Re: [xml-dev] Effective DOM (was RE: [xml-dev] 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: if it's not what you need.