I have not had any luck using getElementsByTagName for either an
IDOM_Element* or for an IDOM_Document*. For example, the following fails
for an IDOM_Document.
IDOM_Document* pXMLDocument = parser.getDocument();
unsigned int elementCount =
pXMLDocument->getElementsByTagName( XMLString::transcode( "*" ) )
->getLength();
cout << "number of elements is " << elementCount << endl;
The code was borrowed from the sample program DOMCount (complete source is
attached at end). The call to getLength never returns. I have also tried
using specific tagNames. Similar calls using an IDOM_Element* also fail in
the same manner.
Has anyone had any success with the IDOM versions of getElementsByTagName?
If so, on what platform? We are building on VxWorks targeted for the
PowerPC (PPC604 and PPC603).
Thanks for the help,
Cindy Smith
[EMAIL PROTECTED]
> Battle Management Command, Control and Communications (BMC3) & Strategic
> Systems
> Network Communications Systems, Anaheim, CA
714-762-9241 (work)
714-762-1263 (fax)
<<loadXMLFile.cpp>>
loadXMLFile.cpp
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]