Is it possible to validate an xml file against a Relax NG schema in ANSI C? I have come across this library called libxml2 but all help I could get from it is with respect to how to parse an xml file. Please help. 

And if it can be done, what are the steps? Utterly ignorant about this w.r.t. the C environment.