This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: double indirection with keys?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]