|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] optimize XPath query to speed up processing
Hello you all, I d like to optimize the following Xpath query : "//a/@href | //go/@href | //card/@onenterforward | //card/@onenterbackward | //card/@ontimer | //template/@onenterforward | //template/@onenterbackward | //template/@ontimer | //img/@src | //option/@onpick " I know it s bad to use // since the parser parses whole tree each time. Goal : i want to get certain attributes values of certain nodes. Eg. for the begining : if a node "<a>" has an attribute named "href" I want to get the value of the "href" attribute ... same for several nodes (go[with href] + card[with onenterforward or onenterbackward or ontimer]) etc... Is it possible to optimize my query to speed up processing ? Shall i use 2 queries (which would be faster together? ) Thanks for help Charlie ______________________________________________________________________________ i (france), c'est aussi une gamme complète de PC en exclusivité avec DELL http://www.ifrance.com/_reloc/signhdell 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








