[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Are xsl:key's best going into the future?
Hi, I have heard a developer from Xalan say that he is working on making an operation like: <xsl:apply-templates select="//*[@id=$id]"/> as fast as: <xsl:apply-templates select="key('the-key', $id)"> [ I also asked if you would gain the same performance if you did something like: <xsl:apply-templates select="document($doc)//*[@id=$id]"> but no answer... I assume it is different?? ] In fact, if you want to get the incredible performance gains from XSLTC, they: [ Xalan's XSLTC team - http://xml.apache.org/xalan-j/xsltc/xsltc_performance.html ] warn that you should not use keys. Should keys be avoided? best, -Rob 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
|