?
Solved

need XPath example in C++ using Xerces/Xalan

Posted on 2005-03-23
5
Medium Priority
?
1,862 Views
Last Modified: 2012-06-21
Hello.

I am looking for a fully complete example of selecting node(s) via XPath in Xerces dom. I understand that Xerces itself doesn't support XPath, and must be used in conjunction with Xalan.  I have spent days looking over documentation at apache.org but can't get my head around the entire thing.

If this isn't possible.. or too difficult, are there any other XML parsers (with XSLT and XPath suport) out there, that can be compiled on either Windows or Unix servers.

Regards San
0
Comment
Question by:santuon
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 2000 total points
ID: 13623916
I'm not too familiar with Xerces, but isn't one of the samples at http://xml.apache.org/xalan-c/samples.html what you are looking for?
0
 

Author Comment

by:santuon
ID: 13658000
Thank you for the link.

I have spent a couple of days looking over the samples/documentation but most examples use Xalan' Document Builder. The Xerces DOM with Xalan' XPath support examples is what I am looking for. I am still having difficults finding a complete example throught google/apache.org/expert-exchange .

Regards San.
0

Featured Post

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question