Best suggestion I can offer is to look at the sample algorithms for 
namespace normalization in the DOM Level 3 working draft, and adapt those 
for your needs, discarding declarations for namespaces already in scope 
and regenerating prefixes appropriately.

Personal opinion: You're going the wrong direction. Rather than catering 
to broken, non-namespace-aware tools, fix those tools.

______________________________________
Joe Kesselman  / IBM Research

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to