Thank you Bernd for this update.

But, do you mean sourceURL and sourceBaseURL are only set during
import?

What I am looking for is to obtain the name of the file being
transformed during an EXPORT operation, in order to put it in
the resulting file... I'm sorry that my first message was not
clear on this point...

Is there a way to manipulate the name of the current file
during an export transformation?

Regards,
EB


> -----Original Message-----
> From: Bernd Eilers [mailto:[email protected]]
> Sent: Friday, January 23, 2009 4:45 PM
> To: [email protected]
> Subject: Re: [dev] XSLT filters in Writer / source file name
>
>
>
> Hi again Emmanuel!
>
> A short update:
>
> I tested again with your version OOo300m9 (build 9358) and found the
> same behaviour as with my previous test on DEV300m39. That is sourceURL
> and sourceBaseURL are also set here but sourceBaseURL does not contain
> what it should :-(
>
> If OpenOffice.org would have behaved as expected something like the
> following should have output the filename in an XSL-Transformation.
>
> <text:p>Filenname <xsl:value-of
> select="substring-after($sourceURL,$sourceBaseURL)"/></text:p>
>
> Something similar works for targetURL and targetBaseURL but those are
> only set for the file to save to when doing an export via XSLT not
> during import.
>
> Kind regards,
> Bernd Eilers
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to