For error reporting, I would like to log the filename in which an error occurred. It seems xmlNodeGetBase(node->doc,node) has the filename. However, the documentation for this function: http://xmlsoft.org/html/libxml-tree.html#xmlNodeGetBase references a xmlDocumentGetBase() that I cannot find anywhere. So my questions: 1. Is xmlNodeGetBase() what I should be calling? (i.e. Is this "base URL" a fancy way of saying the path the data is being loaded from, or does it have connotations with XML namespaces or some such) 2. Is this simply a more portable wrapper for accessing doc->URL? 3. Is xmlDocumentGetBase a bug in the documentation? Thanks, -Ethan
Attachment:
smime.p7s
Description: S/MIME cryptographic signature