On 11/3/2008 10:26 AM, Hussein Shafie wrote: > Andy Black wrote: > >> On 11/3/2008 9:20 AM, Hussein Shafie wrote: >> > I would replace: > > id(@foo)/@wiz > > by something like: > > //b...@id = current()/@foo]/@wiz > > That is, get rid of id() by replacing it by a specific XPath. > > (Just saying that off the top of my head. Didn't test it. However if it > works, you should have less performance problems.) >
Thanks. I just tried this and, from what I can tell, it is the same speed or maybe even a bit slower. It does work, however. Might it be faster using a custom Java[tm] style sheet extension to do the same kind of thing I'm trying to use id() for? Or will that also run into the same problem? --Andy

