Pathan 1 Library Usage Documentation
Pathan 1 conforms to the
XPath Version 1 Specification,
defining the XPath language, and the
DOM Level 3 XPath Specification,
defining the code interface which Pathan 1 implements.
The header files required to build programs which link with Pathan 1 can be found in the include/pathan directory in the Windows distributions and are automatically installed under the UNIX builds.
Programs which link with Pathan 1 should include the Pathan 1 headers for the classes they use, typically as a minimum:
#include <pathan/XPathNamespace.hpp>
#include <pathan/XPathResult.hpp>
#include <pathan/XPathEvaluator.hpp>
#include <pathan/XPathExpression.hpp>
A heavily commented example of interface usage is available in the source archives at examples/basic/basicInterfaceTest.cpp.
|