[xml] Adding a namespace to an existing tree?
- From: Abraham Nelson <abe49_90210 yahoo com>
- To: xml gnome org
- Subject: [xml] Adding a namespace to an existing tree?
- Date: Fri, 18 Mar 2005 16:40:51 -0800 (PST)
I wonder if it's at all possible to add a namespace to
the document element in an existing tree. I've tried:
xmlNewNs(xmlDocGetRootElement(xmlDoc),(xmlChar
*)"<namespame>",NULL);
and also with:
xmlReconciliateNs(xmlDoc,xmlDocGetRootElement(xmlDoc));
But it doesn't seem to get applied to the rest of the
nodes (children), which I need when I apply a style
sheet to it.
Do I have to do some "apply" method, or is what I want
not even possible?
Thx.
Abe
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]