OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

XML AND XPATH

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
JMCC
General User
General User


Joined: 03 Feb 2006
Posts: 5

PostPosted: Fri Feb 03, 2006 4:28 am    Post subject: XML AND XPATH Reply with quote

How to use the com.sun.star.xml.xpath interface in order to apply xpath functions to an xml file.

Rolling Eyes
Back to top
View user's profile Send private message
bolekovnik
General User
General User


Joined: 24 Jan 2006
Posts: 20

PostPosted: Fri Feb 03, 2006 8:47 am    Post subject: Reply with quote

Hi!

If you wanna parse through an XML Document I would suggest the XPath function from dom4j.

Dariusz
Back to top
View user's profile Send private message
JMCC
General User
General User


Joined: 03 Feb 2006
Posts: 5

PostPosted: Fri Feb 03, 2006 9:51 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group