|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Re: Efficiency with id()
Thanks to Jeni, David and Mike for their id() suggestions although the document in question does have ID declared in the DTD, since it is so long I think I'll use xsl:result-document to burst it out into separate documents, and thus negate needing to find one small element in a huge document. Note that in an ideal world, I think the idea is that your "big XML file" is really some kind of XML view to a database and the index required to quickly get to an ID'd node is a persistent feature of the database, so you can go id() and get the stuff quickly without having to pay the price of building the index (and parsing the file) every time. Me, I don't use such a system (I'm more of a filesystem, grep and sed man:-) but I believe that some regulars on this list would sell you one if you asked them nicely... David ________________________________________________________________________ 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








