We're building an XML parser for a tool we're working on in DXL and we're running into an issue parsing the information. We've been using this group of functions to parse the XML and so far everything has been working just fine:
DOM_Document_ getDocumentBuffer_ (DOM_Document_, Buffer&) string getStringAttribute_ (DOM_Element_, string) string getElementName_ (DOM_Element_) string setStringAttribute_ (DOM_Element_, string, string) void ::do (DOM_Element_&, DOM_Element_, void) void ::do (DOM_Element_&, DOM_Element_, void) bool hasAttribute_ (DOM_Element_, string) bool hasChildElements_ (DOM_Element_) DOM_Element_ getDocumentElement_ (DOM_Document_) string getElementText_ (DOM_Element_) DOM_Document_ parseXMLBuffer_ (Buffer) DOM_Document_ parseXMLString_ (string)
Although, when we get to a CDATA block, we start to run into issues. We assume we would be able to use the getElementText_(DOM_Document_) method to get the nested text but that returns nothing.
Any direction would be greatly appreciated. Here's the XML snippet that we're working with:
<xmlTag att = "a" btt = "b" ctt = "c" > <![CDATA[...]]> </xmlTag>