I am trying to implement the DOMPrint sample with Xerces to parse the sample data file 
personal.xml.  I want it to extract only the following info, and not repeat the entire 
file as it does now.  
I want to extract the tag "person id" and its value "Big.Boss".  
Then the tag "email" and its value "[EMAIL PROTECTED]".  
Then the tag "link subordinates" and its value "one.worker two.worker three.worker 
four.worker five.worker"  etc......

Any help is greatly appreciated.

The first record in the file reads like this:
- <person id="Big.Boss"> 
 <name> 
<family>Boss</family> 
<given>Big</given> 
</name> 
<email>[EMAIL PROTECTED]</email> 
<link subordinates="one.worker two.worker three.worker four.worker five.worker" /> 
</person>



Are there any c++ tutorials on line for Xerces?  



Ed Purdy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to