Is there a way to discover the xmlns
declarations?  Is that the purpose of the start/endPrefixMapping
methods?
Yes. Pretty sure the spec says that a prefix mapping will be started before it is first used, so you can expect startPrefixMapping to be called for NS (in your example) before the startElement of NS:SomeNode, whereas it may never be called for NS2 if that namespace mapping is never used... depends on the implementation of the SAX parser though.

Phil :n)
--
Phil Weighill-Smith <[EMAIL PROTECTED]>
Volantis Systems

Reply via email to