|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Normalize / Simplify HTML-Tables with row-span / c
> This means that elimination of node-set
> means impact on performance,
Whether the absence of RTF type in XSLT impacts on performance
presumably depends on what you were doing to get round the restriction
in XSLT1.
As I don't really like using extension elements (even x:node-set()) for
portability reasons, I routinely go
<xsl:variable name="x">
<stuff>
<here/>
</stuff>
</xsl:variable>
...
... select="document('')/*/xsl:variable[@name='x']/stuff/here" ..
which causes the entire stylesheet to be reparsed as an input document
and built as a node tree, just for me to extract this variable, not to
mention that on the original processing of the stylesheet the rtf
variable x was built never to be used at all.
I'm assuming that in XSLT2
... select="$x/stuff/here"
will be much more efficient.
David
--
http://www.dcarlisle.demon.co.uk/matthew
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
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








