|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] FW: increasing variable?
> -----Original Message----- > From: Andreas L. Delmelle [mailto:a_l.delmelle@xxxxxxxxxx] > <snip /> > <!-- you want to 'halve' the SUBSTREAM_interior size, but only > when it's in a SUBSTR with multiple SUBSTREAMs (correct? --in > your example the last one isn't) > > for the SUBSTREAM_interiors that are not in the first SUBSTREAM > of the surrounding SUBSTR; these are the easiest --> > Seems like I walked into the trap I was warning about... > <xsl:template match="//SUBSTR[count(SUBSTREAM) > > 1]/SUBSTREAM[position()!=1]/SUBSTREAM_interior"> > <xsl:copy> > <xsl:value-of select="preceding::SUBSTREAM_interior[1]/offset The computed value in the result node can't be used here! The other templates seem ok, though... Cheers, Andreas XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|

Cart








