In 2.6.2 SAX parsing, I'm a little confused about how to read namespace declarations. For instance, if a document begins:
<NS:SomeNode xmlns:NS="http://foo" xmlns:NS2="http://bar"... the startElement method will be called with namespace="http://foo", localName="SomeNode", and qName="NS:SomeNode"; however, the xmlns declarations are not visible as attributes. Both are clearly being interpreted by the parser since the namespaces show up in the startElement parameter. Is there a way to discover the xmlns declarations? Is that the purpose of the start/endPrefixMapping methods? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
