Emmanuel Bégué wrote:
Hello Bernd,
Thank you. I tried your stylesheet which does not
output more values than mine (they're much alike
anyway ;-)
You mean sourceURL and sourceBaseURL are still empty with my stylesheet
in your test szenario. *hmm* than this makes me wonder what would be
different on your side. I tested on Windows with DEV300m39 and OOO300m9
on Windows and configured the test filter via "tools - XML Filter Settings".
Bye the way: this is what would - well only partly - work for me to get
the filename in an XSLT for now until the bug in OpenOffice.org which i
just filed is being fixed:
<text:p>Filenname2 <xsl:value-of
select="substring-after($sourceURL,substring-before($sourceURL,$sourceBaseURL))"/></text:p>
But this solution would have many problems like for example when the
name of the file without it´s extension is somewhere a directory name in
the path like in /some/dir/bar/some/dir/bar.xml or similar.
Kind regards,
Bernd Eilers
I will try to test it with a more recent version
of OOo and will let you know.
Thanks,
Regards,
EB
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]