|
static bool | hasXSIType (const xercesc::DOMElement *e) |
| Checks if the given element has an xsi:type defined for it. More...
|
|
static QName * | getXSIType (const xercesc::DOMElement *e) |
| Gets the XSI type for a given element if it has one. More...
|
|
static xercesc::DOMAttr * | getIdAttribute (const xercesc::DOMElement *domElement) |
| Gets the ID attribute of a DOM element. More...
|
|
static const XMLObject * | getXMLObjectById (const XMLObject &tree, const XMLCh *id) |
| Attempts to locate an XMLObject from this point downward in the tree whose XML ID matches the supplied value. More...
|
|
static XMLObject * | getXMLObjectById (XMLObject &tree, const XMLCh *id) |
| Attempts to locate an XMLObject from this point downward in the tree whose XML ID matches the supplied value. More...
|
|
static void | getNonVisiblyUsedPrefixes (const XMLObject &tree, std::map< xstring, xstring > &prefixes) |
| Returns the set of non-visibly-used namespace declarations found in a tree. More...
|
|
static QName * | getNodeQName (const xercesc::DOMNode *domNode) |
| Gets the QName for the given DOM node. More...
|
|
static QName * | getNodeValueAsQName (const xercesc::DOMNode *domNode) |
| Constructs a QName from a node's value. More...
|
|
static bool | getNodeValueAsBool (const xercesc::DOMNode *domNode, bool def) |
| Returns a boolean based on a node's value. More...
|
|
static xercesc::DOMElement * | appendChildElement (xercesc::DOMElement *parentElement, xercesc::DOMElement *childElement) |
| Appends the child Element to the parent Element, importing the child Element into the parent's Document if needed. More...
|
|
static bool | isNodeNamed (const xercesc::DOMNode *n, const XMLCh *ns, const XMLCh *local) |
| Checks the qualified name of a node. More...
|
|
static xercesc::DOMElement * | getFirstChildElement (const xercesc::DOMNode *n, const XMLCh *localName=0) |
| Returns the first matching child element of the node if any. More...
|
|
static xercesc::DOMElement * | getLastChildElement (const xercesc::DOMNode *n, const XMLCh *localName=0) |
| Returns the last matching child element of the node if any. More...
|
|
static xercesc::DOMElement * | getNextSiblingElement (const xercesc::DOMNode *n, const XMLCh *localName=0) |
| Returns the next matching sibling element of the node if any. More...
|
|
static xercesc::DOMElement * | getPreviousSiblingElement (const xercesc::DOMNode *n, const XMLCh *localName=0) |
| Returns the previous matching sibling element of the node if any. More...
|
|
static xercesc::DOMElement * | getFirstChildElement (const xercesc::DOMNode *n, const XMLCh *ns, const XMLCh *localName) |
| Returns the first matching child element of the node if any. More...
|
|
static xercesc::DOMElement * | getLastChildElement (const xercesc::DOMNode *n, const XMLCh *ns, const XMLCh *localName) |
| Returns the last matching child element of the node if any. More...
|
|
static xercesc::DOMElement * | getNextSiblingElement (const xercesc::DOMNode *n, const XMLCh *ns, const XMLCh *localName) |
| Returns the next matching sibling element of the node if any. More...
|
|
static xercesc::DOMElement * | getPreviousSiblingElement (const xercesc::DOMNode *n, const XMLCh *ns, const XMLCh *localName) |
| Returns the previous matching sibling element of the node if any. More...
|
|
static XMLCh * | getWholeTextContent (const xercesc::DOMElement *e) |
| Returns all text content inside an element, regardless of the number of child nodes involved, up to the first child element encountered if any. More...
|
|
static const XMLCh * | getTextContent (const xercesc::DOMElement *e) |
| Returns the content of the first Text node found in the element, if any, acting on the assumption there can be no embedded comment, CDATA, or other interfering node types interrupting the text. More...
|
|
static std::string | getAttrString (const xercesc::DOMElement *e, const char *defValue, const XMLCh *localName, const XMLCh *ns=0) |
| Returns the content of the specified attribute node as a string, or the default value, if the attribute is not present. More...
|
|
static int | getAttrInt (const xercesc::DOMElement *e, int defValue, const XMLCh *localName, const XMLCh *ns=0) |
| Returns the content of the specified attribute node as an integer, or the default value, if the attribute is not present. More...
|
|
static bool | getAttrBool (const xercesc::DOMElement *e, bool defValue, const XMLCh *localName, const XMLCh *ns=0) |
| Returns the content of the specified attribute node as a boolean, or the default value, if the attribute is not present. More...
|
|
static bool | getCaseSensitive (const xercesc::DOMElement *e, bool defValue, const XMLCh *ns=0) |
| Returns the value of the attribute "caseSensitive" (if present). More...
|
|
static void | encode (std::ostream &os, const char *str) |
| Perform XMLEncoding on the input string into the provided stream. More...
|
|
static std::string | encode (const char *str) |
| Perform XMLEncoding on the input string. More...
|
|
static void | serialize (const xercesc::DOMNode *n, std::string &buf, bool pretty=false) |
| Serializes the DOM node provided into a buffer using UTF-8 encoding and the default XML serializer available. More...
|
|
static std::ostream & | serialize (const xercesc::DOMNode *n, std::ostream &out, bool pretty=false) |
| Serializes the DOM node provided to a stream using UTF-8 encoding and the default XML serializer available. More...
|
|
static char * | deflate (char *in, unsigned int in_len, unsigned int *out_len) |
| Deflates data in accordance with RFC1951. More...
|
|
static unsigned int | inflate (char *in, unsigned int in_len, std::ostream &out) |
| Inflates data compressed in accordance with RFC1951 and sends the results to an output stream. More...
|
|
A helper class for working with W3C DOM objects.