xsl-list
[Top] [All Lists]

Re: [xsl] Are nested brackets legal? Is this the same as positional grouping?

2006-08-16 15:34:58
Michael Kay wrote:

Yes, nested brackets are perfectly legal, and expressions like this are
fine:

   <xsl:apply-templates
select="twz:rows/twz:row[twz:cell[2]/@selected-id = $car-id]" />

I can't imagine why you would think otherwise.

Just never tried it (can't imagine why either :-) , perhaps because 'traditional' languages don't allow for nested square brackets? It looks odd to me... ), and apparently never saw anybody else using it. This opens up a whole new world for me: sometimes the biggest surprises happen in the smallest things ;-)

Thanks Michael!

Abel Braaksma,
http://www.nuntia.nl

--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>