| View previous topic :: View next topic |
| Author |
Message |
JMCC General User

Joined: 03 Feb 2006 Posts: 5
|
Posted: Fri Feb 03, 2006 4:28 am Post subject: XML AND XPATH |
|
|
How to use the com.sun.star.xml.xpath interface in order to apply xpath functions to an xml file.
 |
|
| Back to top |
|
 |
bolekovnik General User

Joined: 24 Jan 2006 Posts: 20
|
Posted: Fri Feb 03, 2006 8:47 am Post subject: |
|
|
Hi!
If you wanna parse through an XML Document I would suggest the XPath function from dom4j.
Dariusz |
|
| Back to top |
|
 |
JMCC General User

Joined: 03 Feb 2006 Posts: 5
|
Posted: Fri Feb 03, 2006 9:51 am Post subject: |
|
|
Thanks for your answer.
My objective is to select nodes of an XML document using a macro written with OpenOffice Basic and SAX parser.
I am looking for some code to do that and in particular an example for the use of com.sun.star.xml.xpath api (oo api). |
|
| Back to top |
|
 |
|