it works!!
finally, here is the proper code for the archive:

// ---------------------------------------------------------------------------
//   printAttributeValue
// ---------------------------------------------------------------------------
static void printAttributeValue(DOMNode *node, char *attributeName)
{
   const XMLCh *attrVal;
   char *chAttrVal;


DOMElement *nodeElement = NULL; if (node) { nodeElement = static_cast<DOMElement*>(node); attrVal = nodeElement->getAttribute(XMLString::transcode(attributeName)); chAttrVal = XMLString::transcode(attrVal); std::cout << " attribute: " << chAttrVal << std::endl; delete [] chAttrVal; }

return;

} // printAttributeValue()


I was right with that: > In my opinion the first child of ElementLength > was the attribute min.





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to