Re: [xml] Copy properties and namespaces

Ok, I see. Thanks a lot Daniel.

Yong Chen 

-----Original Message-----
From: xml-bounces gnome org [mailto:xml-bounces gnome org] On 
Behalf Of Daniel Veillard
Sent: Sunday, February 18, 2007 12:29 AM
To: Yong Chen (yongche)
Cc: xml gnome org
Subject: Re: [xml] Copy properties and namespaces

On Thu, Feb 15, 2007 at 02:07:36PM -0800, Yong Chen (yongche) wrote:

Thanks Daniel. My test shows that for copying namespaces, I 
only need 


And I don't need to do following:


So what's the difference between "ns" and "nsDef" of a node?

  nsDef are the namespace definitions on an Element
  ns just point to the namespace used by an Element or an Attribute


Red Hat Virtualization group
Daniel Veillard      | virtualization library
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search 
xml mailing list, project page 
xml gnome org

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