Ok, I understand about '{}'... But why I can't use '[]'
but can '()', can't use '^' but can '*', can't use
any not latin-1 character?
Do you know any document link about permitted chars?
It's all ok for me... Just odd...
Alex
On Sat, 6 Sep 2003 02:55:59 -0400
Adam Turoff <[EMAIL PROTECTED]> wrote:
> 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]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]