Example of getting attribute value of xml node by using libxml2 library.