![]() | InDesign SDK 20.5 |
#include <IXMLParserUtils.h>

Public Types | |
| enum | { kDefaultIID = IID_IXMLPARSERUTILS } |
Public Member Functions | |
| virtual IIDXMLDOMDocument * | CreateNewDOMDocument (const char *const uri=nil, ISAXServices *owner=nil)=0 |
| virtual bool16 | EvaluateXPathsForElement (const K2Vector< WideString > &xPaths, InterfacePtr< IIDXMLElement > rootElement, HitMatches &matches, PrefixToURIMap *prefixMap) const =0 |
| virtual PMString | GetContentAtChild (const PMString &xml, const PMString &valueToFind, bool *pFoundIt=nil)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
General utilities for XMLParser
| pure virtual |
Used to create a new DOM Document
NOTE: The caller of this method will be responsible for its destruction
| characterSize | - Used to set the character encoding of the stream to parse |
| uri | - The uri to use for the resolver |
| owner | - The owner of this parser (used for error handling) |
return - A new DOM document that can be be used to build out an entire DOM
| pure virtual |
Creates a list of elements from the XML structure of the document, beginning with the rootElement, matching the xpaths in the input vector.
| xPaths | A vector of XPath strings |
| rootElement | The IIDXMLElement to start from in the document's structure |
| matches | The pairs of XMLReferences and xpath indices matched |