[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
The internal representation does also contain the contents of content.xml, but also other information that will be stored separately in a Zip archive when you save an .odt file.
I suggest that you write a stylesheet with an identity template that allows exporting the internal representation in a single XML file. Because OpenOffice's debugging capabilities are very limited, you can develop your export filter against this XML export in your favorite XSL development environment.
Since version 3.2 or 3.3, OpenOffice uses Saxon 9.1 as XSLT processor, so it's possible to use XSLT 2.0.
-Gerrit
On 16.10.2010 01:08, Russell Urquhart wrote:
Re: [xsl] Open Office xml & xsl processing
Subject: Re: [xsl] Open Office xml & xsl processing From: "Imsieke, Gerrit, le-tex" <gerrit.imsieke@xxxxxxxxx> Date: Sat, 16 Oct 2010 09:55:54 +0200 |
The internal representation does also contain the contents of content.xml, but also other information that will be stored separately in a Zip archive when you save an .odt file.
I suggest that you write a stylesheet with an identity template that allows exporting the internal representation in a single XML file. Because OpenOffice's debugging capabilities are very limited, you can develop your export filter against this XML export in your favorite XSL development environment.
Since version 3.2 or 3.3, OpenOffice uses Saxon 9.1 as XSLT processor, so it's possible to use XSLT 2.0.
-Gerrit
On 16.10.2010 01:08, Russell Urquhart wrote:
Hi,
Some of you have been of help to me in trying to hack a Open Office xsl filter. Thank you!
Another question i had. Does anyone know if the processing of the .xsl file, WHILE processed inside of Open Office (e.g. when doing a Save As using the filter) versus using an XSLT processor like Saxon or Xalan, applying the .xsl file to the content.xml file produces the same results? Is there anything special you need to do when applying the .xsl file from the command line?
I ask because it seems that, when i run a .xsl file within Open Office i get one thing and then when i run the same .xsl file in Saxonb or Xalan, on the content.xml file, i get something else.
Any help is appreciated!
Thanks,
Russ
-- Gerrit Imsieke Geschdftsf|hrer / Managing Director le-tex publishing services GmbH Weissenfelser Str. 84, 04229 Leipzig, Germany Phone +49 341 355356 110, Fax +49 341 355356 510 gerrit.imsieke@xxxxxxxxx, http://www.le-tex.de
Registergericht / Commercial Register: Amtsgericht Leipzig Registernummer / Registration Number: HRB 24930
Geschdftsf|hrer: Gerrit Imsieke, Svea Jelonek, Thomas Schmidt, Dr. Reinhard Vvckler
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Open Office xml & xsl process, Russell Urquhart | Thread | Re: [xsl] Open Office xml & xsl pro, Wendell Piez |
[xsl] Open Office xml & xsl process, Russell Urquhart | Date | [xsl] Ignore previously defined xml, Karl Stubsjoen |
Month |