[xml] namespaces redeclarations
- From: "Arne Van Theemsche" <arnevt gmail com>
- To: xml gnome org
- Subject: [xml] namespaces redeclarations
- Date: Tue, 17 Apr 2007 11:04:50 +0200
Hi
I use the perl interfaces to libxml2
imagine I parse an xml like
<ns2:bar/>
</foo>
and then i do a createElementNS("
http://www.foo.bar","bar2") and an appendChild on the "ns2:bar" I will end up in something like
</foo>
this is syntax wise ok, but i would rather end up in something like
<ns2:bar><ns2:bar2/></ns2:bar>
</foo>
is there a solution to this or am I just making problems for nothing? :)
thx
Arne
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]