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


Joined: 31 Aug 2007 Posts: 12 Location: Germany, Enger
|
Posted: Sat May 05, 2012 8:45 am Post subject: XML Import using xslt functions |
|
|
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 |
|
 |
hol.sten Super User


Joined: 14 Nov 2004 Posts: 3533 Location: Hamburg, Germany
|
Posted: Sat May 05, 2012 11:34 am Post subject: Re: XML Import using xslt functions |
|
|
| 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 |
|
 |
|