Example of adding new attribute to xml nodes by using libxml2 library.