Resolving element content text with character references - C++/Arabica

Olav

Usenet Archive
Joined
Jul 31, 2003
Messages
14
Reaction score
0
Resolving character references with C++/Arabica

I have an element that looks like this:

<PhoneNumber>&lt;NUMBER&gt;</PhoneNumber>

I would like to have the content returned as "<NUMBER>".

Not only don't I get the character references resolved, but also what is only one Text-node child of the element-node becomes several nodes (When I have character references)

When googeling I see posts describing the opposite problem... Is it a question about parser-options.

On the DOM-side, this is C++ Arabica, it doesn't seem to have the "GetData", of the Java oriented DOM, Xerces seems to have something like GetTextValue which I don't seem to have. ....IS it just a feature missing in Arabica, or should I do it some other way?

Thanks
Olav
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
548,208
Messages
3,104,799
Members
249,594
Latest member
henrywalsh

Latest Threads

Top