[xslt] document() function doesn't work - my fault?


my code looks like this:

  <xsl:variable name="language" select="document('de.xml')/bundle@language"

The corresponding document looks like this:

<bundle language="de">

The error in my httpd error log is this:

compilation error: file unknown-000143413712 element variable
xsl:variable : could not compile select expression

What did I do wrong? I thought that's the way it should work!! Is it
possible, that it just can't find my file?

Michael Scheibler

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]