Re: [xml] Making NS attributes



On Wed, Jun 27, 2001 at 04:58:14PM +0100, Matt Sergeant wrote:
Is there any way I can make libxml2 parse namespace declarations as
attributes, as well as parsing them as namespace nodes? In DOM L2
namespaces should appear in the list of attributes (section 1.1.8).

  No, there is no such mechanism, you need to walk both properties 
and nsDef lists.

Daniel

-- 
Daniel Veillard      | Red Hat Network http://redhat.com/products/network/
veillard redhat com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
Sep 17-18 2001 Brussels Red Hat TechWorld http://www.redhat-techworld.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]