I want to use custom properties to add some values to the header of my xslt export filter output.
I tried using the xsl:params I found out are set by the export filter in /usr/lib/libreoffice/share/xslt/export/xhtml/opendoc2xhtml.xsl:
<xsl:param name="sourceBaseURL" select="'./'" />
<xsl:param name="metaFileURL" />
and then I’m trying to load the meta.xml like it’s done in the /usr/lib/libreoffice/share/xslt/export/common/styles/style_collector.xsl file
<xsl:copy-of select="document(concat($sourceBaseURL, 'meta.xml'), .)" />
But when testing it with the Test XSLTs function in the Tools > Macros > XML Filter Settings dialog on the Current Document, I get the following error:
I/O warning : failed to load external entity "./meta.xml"
How do I access these values?
With another import maybe, or another special variable?