On Sat, Sep 06, 2003 at 01:44:28PM +0700, Alex Sergeyev wrote:
> Hello,
>
> Is that standard rule that I can't use in document() function filenames includes
> not-standard characters?
>
> For example I wish to write:
> <xsl:copy-of select='document("aaa}bbb.xml")'/>
>
> It doesn't work. But
> <xsl:copy-of select='document("aaa%7dbbb.xml")'/>
>
> works ok with axKit and with xsltproc...
>
> Can someone explain? Is that XSLT rule to use escaping?
The { and } characters are used for attribute value templates, which are
XPath expressions that generate raw text. Using curleys outside that
context is a syntax error.
Consider the following:
<xsl:template match="a">
<xsl:copy-of select="document('[EMAIL PROTECTED]')"/>
</xsl:template>
:-)
Z.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]