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

Re: [xml] Namespaces



Hi,

On Mon, 2006-03-20 at 11:00 -0500, Jason Viers wrote:
[...]
> When children are created, they automatically inherit their parents' ns, 
> so as long as you call xmlSetNs before any further children are added, 
> they'll use the prefix too.  If you want a child node to NOT use the 
> prefix, just call xmlSetNs(child, NULL).

See the functions xmlNewChild() and xmlNewTextChild() in the tree
module.

Kasimier



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