Re: Problem getting attributes from a node

www-dom@w3.org writes:
>DOM_Attr a_node = (DOM_Attr)  attributeMap.getNamedItem(DOMString(name));
I assume you are using the xerces dom C++ implementation.  Try this:
DOM_Attr a_node = (DOM_Attr&)  attributeMap.getNamedItem(DOMString(name));

For more information look at http://xml.apache.org/xerces-c/index.html
There is a developer's mailling list and lots of great sample programs
with their distributions.
---
Blaine

Received on Friday, 9 February 2001 20:25:28 UTC