Re: Namespace attributes w/ namespace processing enabled

Boris Kolpackov <[email protected]> Wed, 11 Jun 2008 14:47:11 +0000 (UTC)
Newsgroups gmane.text.xml.expat.general
Message-ID <[email protected]>
Hi Bob,

"Bob Lee" <[email protected]> writes:

> Is there any way to tell Expat to still include namespace attributes when
> namespace processing is enabled?

I don't think there is an option to do this though you probably
can fake it by providing the namespace declaration handlers (see 
XML_SetNamespaceDeclHandler) and reconstructing the namespace
declaration attributes from there.

Boris

-- 
Boris Kolpackov, Code Synthesis Tools   http://codesynthesis.com/~boris/blog
Open source XML data binding for C++:   http://codesynthesis.com/products/xsd
Mobile/embedded validating XML parsing: http://codesynthesis.com/products/xsde