Ramon F Herrera
Usenet Archive
- Joined
- Mar 11, 2003
- Messages
- 461
- Reaction score
- 0
The following question was posted in the Xerces-C and XQilla mailing lists, but number of replies I received is zero. Perhaps a kind soul can help me?
Note: This is a follow up to my thread "I guess XPath is not as straightforward as I thought..."
TIA,
-Ramon
I have been using two XPath implementations, the one from Xerces-C (for fast performance with elemental expressions) and XQilla (for full expression support). At this point I have some expressions that must be evaluated in two steps.
First query:
/root/table[@tagname='intermediate_joints']
The tables (nodes) produced by that query should be set as the new context before the next XPath queries are performed.
How do I set up the context?
TIA,
-Ramon
ps: I am familiar with the code in the file simple-context-item.cpp, but could use more help!
http://xqilla.sourceforge.net/docs/simple-api/simple-context-item_8cpp-example.html
Note: This is a follow up to my thread "I guess XPath is not as straightforward as I thought..."
TIA,
-Ramon
I have been using two XPath implementations, the one from Xerces-C (for fast performance with elemental expressions) and XQilla (for full expression support). At this point I have some expressions that must be evaluated in two steps.
First query:
/root/table[@tagname='intermediate_joints']
The tables (nodes) produced by that query should be set as the new context before the next XPath queries are performed.
How do I set up the context?
TIA,
-Ramon
ps: I am familiar with the code in the file simple-context-item.cpp, but could use more help!
http://xqilla.sourceforge.net/docs/simple-api/simple-context-item_8cpp-example.html