how to remove redundant namespaces?

View: New views
2 Messages — Rating Filter:   Alert me  

how to remove redundant namespaces?

by slyght :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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?

_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml@...
http://mail.gnome.org/mailman/listinfo/xml

Re: how to remove redundant namespaces?

by dhkuhl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

slyght wrote:

> 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?
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> xml mailing list, project page  http://xmlsoft.org/
> xml@...
> http://mail.gnome.org/mailman/listinfo/xml

I hope you get your answer, but the xmlRenconciliateNs() functions seem
to be taboo.  I haven't seen questions about it get answered very much.
 I don't think it works as intended; however, it would be quite useful
it it did.  Good Luck.
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml@...
http://mail.gnome.org/mailman/listinfo/xml