I am trying to load files that contain non-standard (and non-English) characters (e.g. µ), and need some help in understanding how the XSLT document() function interprets non-standard (and non-English) characters (e.g. µ).
The problem is that I can't load files with such names.
The xslt is saved and declared as UTF-8.
E.g. the xml file has an µ in its name.
This
Expand|Select|Wrap|Line Numbers
- <xsl:value-of select="'µ.xml'"/>
This however
Expand|Select|Wrap|Line Numbers
- <xsl:value-of select="document('/µ.xml')"/>
I transform the xslt documents with PHP 5.2 libxml library, and thus have not access to Xpath 2.0 (and its uri escape functions). However, I do not think that function will help me, I have tried replacing the µ with "%C2%B5", resulting only in a error (file not found).
Any help, pointers and directions is gratefully appreciated!