Re: [xsl] Testing implicit XHTML hierarchy

Subject: Re: [xsl] Testing implicit XHTML hierarchy
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 5 Jul 2007 00:53:37 +0100
> actually  theres more than one item in your sequence that way.
I may have mistyped, but you shouldn't need the [1]'s  in for example
$h[.+1][1]
as $h[.+1] is %h[position()=.+1] so can return at most 1 item, so [1] is
redundant.
similarly $h[.+1][2] will always be empty.

David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________

Current Thread