Subject: Re: [xsl] optimization of complex XPath From: Liam R E Quin <liam@xxxxxx> Date: Fri, 19 Nov 2010 11:17:55 -0500 |
On Fri, 2010-11-19 at 07:31 -0500, Graydon wrote: > Right now, I'm doing that via XQuery in eXist, since while it is in > principle simple to extend that loop to operate on a collection I'm > pretty sure that will slam into resource limits somewhere. Try it first and see. Note, if you are confident your id-valued attributes do not contain quotes, you can also use grep and sed over all the files to make a single file of those values. XML was designed so that you can process it with text tools when you need to (although comments and CDATA sections complicate things). Also check that the XQuery database you are using is indexing attribute values. For eXist-db see http://exist.sourceforge.net/indexing.html - e.g. <create qname="@cite" type="xs:string"/> (if the data can be shared it might make an interesting little test-case for comparing XQuery impleentations!) Liam -- Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/ Pictures from old books: http://fromoldbooks.org/ Ankh: irc.sorcery.net irc.gnome.org www.advogato.org
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] optimization of complex X, Graydon | Thread | Re: [xsl] optimization of complex X, Graydon |
Re: [xsl] optimization of complex X, Wolfgang Laun | Date | [xsl] Re: Finding the position of a, Rashi Bhardwaj |
Month |