Lists Home |
Date Index |
Title: Question for Xpath usage in setter, not query or transformation
Second posting, new to the list.
Thanks everyone for light shed on the updating XML file problem. I think we will try not to write huge XML file, and separate them in reasonably small dataset files, and include them in the main file.
Here is another question we have:
Is it possible to set data in a DOM tree through a simple Xpath like syntax?
setData (file_id, "/people/entry/name", "Joe")
setData (file_id, "/people/entry/name", "Jane")
I understand that the XERCES API provides tree traverse functionality, but that is very cumbersome. Are there similar implementation
We are using C++ implementation of Xerces and XALAN, and the final code interface is in C, so there is little capability to handle Java-like objects.
Many thanks in advance for suggestions.
Andrew H. Chen
Westinghouse Electric Company, Nuclear Fuel
4350 Northern Pike, Monroeville, PA, 15146
Tel. +1 (412) 374-2316