W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2001

Re: Problem getting attributes from a node

From: Blaine Brodie <bbrodie@savagesoftware.com>
Date: Fri, 09 Feb 2001 17:22:50 -0800
Message-id: <fc.0085846d0002d1233b9aca00b1cfa8b6.2d12e@savagesoftware.com>
To: lothar.behrens@okay.net, www-dom@w3.org
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.
Received on Friday, 9 February 2001 20:25:28 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:08 UTC