[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Multi-grouping with keys (back of book index)

Subject: Re: Multi-grouping with keys (back of book index)
From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx>
Date: Sun, 22 Oct 2006 18:54:08 +0530
Re:  Multi-grouping with keys (back of book index)
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@xxxxxxxxxxxx> 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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.