XPath with Xalan-C

M

MV84

Does anyone know how to use the Xalan-C API to get data from an XML
file using an XPath. I know the SimpleXPathCAPI inputs an XPath, but
it only returns true and false - I want it to return the data the XPath
is pointing to. I think SelectSingleNode is the function I'm looking
to use, butI'm not sure at all. I'm new to XML and Xalan and could use
a little help getting on my way. Any ideas? Thanks for the help.
 
C

Christopher Benson-Manica

MV84 said:
Does anyone know how to use the Xalan-C API to get data from an XML
file using an XPath. I know the SimpleXPathCAPI inputs an XPath, but
it only returns true and false - I want it to return the data the XPath
is pointing to.

(Perhaps the Xalan-C user mailing list is the right place for your
question; this, in any case, is not, and nor is comp.lang.c++, which
seems to be the language the API is intended for.)

Your post is off-topic for comp.lang.c. Please visit

http://www.ungerhu.com/jxh/clc.welcome.txt
http://c-faq.com
http://benpfaff.org/writings/clc/off-topic.html

for posting guidelines and frequently asked questions. Thank you.
 
M

MV84

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
473,996
Messages
2,570,238
Members
46,826
Latest member
robinsontor

Latest Threads

Top