Thanks Mike for pointing the error. I mistakenly thought, that value
of select attribute of xsl:copy-of is an attribute value template. But
I just checked the spec; which says it is of type expression.
I have a question.. How do you as XSLT language designer decide, which
attributes (covering the whole XSLT/XPath language) will be attribute
value template, and which not? As a XSLT programmer, what rule of
thumb should I follow, that which attributes are attribute value
templates, and which not?
On 10/22/06, Michael Kay <mike(_at_)saxonica(_dot_)com> wrote:
> May be this is probably:
> <xsl:copy-of select="document('{.}')//indexterm" />
No, you never use curly braces inside an XPath expression. You just want
document(.)//indexterm
Michael Kay
http://www.saxonica.com/
--
Regards,
Mukul Gandhi
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--