Resolving colliding prefix names -- and doing reasonable things when prefix declarations may not exist at all -- is what the DOM3 namespace resolution and normalization algorithms are all about.
What they don't do is merge/discard declarations. Note that it is _NOT_ always a good idea to merge prefixes if the user went to the trouble of asserting them separately, since the fact that some specs (XPath being one of them, _grrrrrr_) use prefixes in text content, where there's no reliable way to find and fix them. ______________________________________ Joe Kesselman / IBM Research --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
