Subject: Re: two transformations consecutively with OpenOffice
From: jimmy@xxxxxxxxxxxxxx
Date: Tue, 16 May 2006 14:15:12 +0200
|
I don't really get where you're going there. Maybe my question wasn't clear
enough.
Again this is the procedure
OpenOffice File => (XSL) => XML => (XSL) => XHTML
I've got both XSL files ...only thing missing is, that I can only assign one XSL
file to the OO filter.The second XSL has to transform the result XML.
Zitat von Emmanouil Batsis <Emmanouil.Batsis@xxxxxxxxxxx>:
> jimmy@xxxxxxxxxxxxxx wrote:
>
> >Background: I'm programming an XSL 2.0 file to use as an export filter in
> >OpenOffice 2.x.
> >The XSL transforms the OpenDocument XML into my own Schema.
> >Afterwards I would like to transform the result XML with the XSL of my
> Schema to
> >XHTML.
> >
> >Question: Is it possible (and how?) to get those two transformations into
> one
> >XSL file? (Since I can only use one XSL file as a filter in OOffice)
> >
> >
>
> You can check for the document element name at the root matching
> template and call the appropriate template. If no namespace URIs in
> combination with element names match between XHTML and your schema, this
> is a non issue and you can create templates that match the right nodes.
>
> hth,
>
> Manos
|