Which version of the library are you talking about? The copy I has does not have xmlSecAddAndGenerateId function: http://cvs.gnome.org/viewcvs/xmlsec/src/xmltree.c?rev=1.39&view=markup Aleksey