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

Import data from XML file to use in document

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer
View previous topic :: View next topic  
Author Message
pi4630
Newbie
Newbie


Joined: 06 Feb 2009
Posts: 1

PostPosted: Fri Feb 06, 2009 11:18 am    Post subject: Import data from XML file to use in document Reply with quote

Hi,

Is there a way to insert fields that have data coming from an XML file? I tried to define a new OOBase file, but it seems it can't read an XML file, while it can read DBs and text files (csv). The XML data could look like this:

Code:

<PHONEBOOK>
<PERSON>
   <FIRSTNAME>MIKE</FIRSTNAME>
   <LASTNAME>FRANCIS</LASTNAME>
   (...)
</PERSON>
   (...)
</PHONEBOOK>


When I write the document, I'd like to insert fields from the XML file like FIRSTNAME, to get the content when the document is going to be printed.

Any advice? Thanks in advance![/code]
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer 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