Pathan 2 Library Usage Documentation
Pathan 2 aims to conform to the
XPath Language 2.0 Specification,
defining the XPath 2.0 language, and the DOM Level 3 XPath 2.0 Draft Note, defining the code interface which Pathan 2 implements.
The interfaces from the DOM Level 3 XPath 2.0 Draft Note can be found in the dom-extensions directory.
Programs which link with Pathan 2 should include the Pathan 2 headers for the classes they use, typically as a minimum:
#include <dom-extensions/PathanNSResolver.hpp>
#include <dom-extensions/PathanDocument.hpp>
#include <dom-extensions/PathanException.hpp>
#include <dom-extensions/PathanExpression.hpp>
#include <dom-extensions/PathanImplementation.hpp>
#include <dom-extensions/XPath2Result.hpp>
A heavily commented example of interface usage is available in the source archives at samples/basic/basicPathanUsage.cpp.
|