[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Newbie: Extracting and evaluating partial values f
On 22/10/2007, David Carlisle <davidc@xxxxxxxxx> wrote: > > > I'm using Saxon 6.5.5, > > it would be easier in saxon 8.... hmm only this comes to mind: <xsl:variable name="parts" select="for $x in tokenize(., ':') return xs:integer($x)" as="xs:integer+"/> <td colspan="{$parts[1] - ($parts[2], 0)[1]}"/> What would you've done? (I already consider the ($parts[2], 0)[1] a bit of a DC special :) -- Andrew Welch http://andrewjwelch.com Kernow: http://kernowforsaxon.sf.net/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|