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 Import using xslt functions

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> General Discussion
View previous topic :: View next topic  
Author Message
pauliv_de
General User
General User


Joined: 31 Aug 2007
Posts: 12
Location: Germany, Enger

PostPosted: Sat May 05, 2012 8:45 am    Post subject: XML Import using xslt functions Reply with quote

I have some XML-files which should be imported into a writer document.
I found the "OASIS OpenDocument Essentials book". In chapter 9 "Filters in OpenOffive.org" there is an example to read a xml file and using xslt transforms.
http://books.evc-cit.info/odbook/ch09.html
This works fine.
But now I wanted to just put in the current date of the transform process by using
Quote:
<xsl:value-of select="fn:current-date()"
but this doesn't work.
May be this is not supported.. (the mentioned book isn't really a new one)
I didn't find any list of supported xslt instructions.
Can please anybody give me a hint to find out further information on this topic ?
Thanks in advance
Paul
Back to top
View user's profile Send private message Send e-mail Visit poster's website
hol.sten
Super User
Super User


Joined: 14 Nov 2004
Posts: 3533
Location: Hamburg, Germany

PostPosted: Sat May 05, 2012 11:34 am    Post subject: Re: XML Import using xslt functions Reply with quote

pauliv_de wrote:
Can please anybody give me a hint to find out further information on this topic ?

Just my guess: In the OpenOffice.org/LibreOffice classes subdirectory you can find a JAR called saxon9.jar (at least that's the exact name of this file of my OOo 3.2.0 and LibreOffice 3.3.1 installations on Ubuntu). That file contains a MANIFEST.MF file which tells me the Project-Name: Saxon-B. Saxon is a XSLT and XQuery Processor as you can read here http://saxon.sourceforge.net/. So I think you might look there for further informations. But pay attention: Saxon-B seems to be a little outdated. A closer look inside of saxon9.jar shows the the JAR comes with a Version.class file which contains the date 2008-07-03 which is very close to Saxon Version 9.1 (2008-07-02). So perhaps http://www.saxonica.com/documentation/changes/intro91.xml is what you are looking for.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> General Discussion 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