This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Matching attributes that contain both &pos; and "
- To: xsl-list at mulberrytech dot com
- Subject: Re: Matching attributes that contain both &pos; and "
- From: Joe English <jenglish at flightlab dot com>
- Date: Sat, 09 Sep 2000 20:28:42 -0700
- Reply-To: xsl-list at mulberrytech dot com
Kaganovich, Yevgeniy wrote:
>
> This seems to me like an arbitrary restriction in the spec. I understand
> that it doesn't really limit any functionality as there is enough
> flexibility in the language to work around it, but what is the reason why
> variables are not allowed inside a match?
I don't know the original reason, but it does avoid
some potential ambiguities. Variable definitions can
call xsl:apply-templates; if variable references were
allowed inside match attributes this could lead to
cyclic dependencies.
--Joe English
jenglish@flightlab.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list