|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: xsl problem
> -----Original Message----- > From: poppe chris [mailto:pc_poppe@xxxxxxxxxxx] > <snip /> > I would love to see all this happen in one xsl transformation, > > anyone got any idea's? Hi, XSLT 2.0 (w/ XPath 2.0) would allow you to do this cleanly, if I'm not mistaken... but I really need to study this closer myself, so I'll leave the 2.0 advice to the real experts. If switching to 2.0 is not (yet) an option, you could always go for the node-set() extension function, which would allow you to construct a variable in which you perform the first step: <xsl:variable name="vsomevar"> <xsl:apply-templates select="..." /> </xsl:variable> This variable will be of type Result Tree Fragment, and thus needs to be reconverted to a nodeset before you can use it in a 'select' using a syntax like: <xsl:apply-templates select="exsl:node-set($vsomevar)" /> In this way you can perform the transform in one pass. Hope this helps! Cheers, Andreas
|
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








