This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: double indirection with keys?
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] double indirection with keys?
- From: Tobias dot Grundmann at ofd dot mf dot lsa-net dot de (Tobias Grundmann)
- Date: Mon, 05 Feb 2001 10:55:58 +0100
- Organization: OFD Magdeburg
- References: <3A7ADF19.4B8ADBAD@ofd.mf.lsa-net.de> <200102021657.QAA05690@penguin.nag.co.uk>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Thank you David,
I came up with the following key and it works now:
<xsl:key name="ttStyle"
match="/office:document/*/style:style
[child::style:properties/@style:font-name=
/office:document/office:font-decls/style:font-decl
[@style:font-pitch='fixed']/@style:name]"
use="@style:name"
/>
Tobias
David Carlisle wrote:
>
> > But the XPath-Spec seems to indicate that predicates are not allowed
> > inside predicates.
>
> No, they are allowed.
Right, for a better overview I should extract the grammar from the
Spec...
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list