[Vala] [PATCH] libxml Ns class improvement.



Hello,

I use libxml-2.0 and I noticed that there was no method to create a namespace in the vala binding.
xmlNewNs is not available in the vapi.

That's why I added a Xml.Ns.create static method that wraps xmlNewNs. I don't know if it's the right place, but xmlNewNs is required to create a namespace in an XML document.

I attach the patch to this mail.

Regards,

Eric

Attachment: libxml-2.0-ns.patch
Description: Text Data



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