[xml] how to remove redundant namespaces?



I would like to know how to remove redundant namespaces which appeared during copying xml nodes. I found xmlRenconciliateNs but it's not really what I'm looking for.

xmlUnsetProp is also not working for namespaces and xmlCopyNode has no option for omitting namespaces.

What else could I do?


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