Subject: Re: [xsl] Improving efficiency of an XPath expression? From: "Michael Beddow" <mbnospam@xxxxxxxxxxx> Date: Fri, 7 Jun 2002 16:22:14 +0100 |
> > don't think I can afford the > > overhead of keeping validation. > > you don't need to validate, you can use a non validating parser with a > one line dtd that _only_ declares id to be of type ID. the overhead of that > is a lot less than the overhead of evaluating // (I'd guess, but don't > trust me on implementation issues) > Thanks David, that's an interesting possibility (for some other applications too) that never occurred to me, so I'll give it a try. I'd always assumed that parsers built some sort of index of declared ID's as a side effect of their validating pass and so without validation turned on that wouldn't happen. I'll do some experiments. Michael --------------------------------------------------------- Michael Beddow http://www.mbeddow.net/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Improving efficiency of a, David Carlisle | Thread | RE: [xsl] Improving efficiency of a, Michael Kay |
Re: [xsl] Newbie: See if a node exi, Joerg Heinicke | Date | Re: [xsl] Re: xsl to HTML, Michael Beddow |
Month |