Subject: Re: [xsl] How do I search ancestors in the output tree? From: Stefan Drees <stefan@xxxxxxxxxx> Date: Sat, 01 Sep 2012 10:46:02 +0200 |
At 31.08.12 21:47, G. Ken Holman wrote: > At 2012-08-31 19:32 +0000, Costello, Roger L. wrote: >> How do I search ancestors in the output tree? (As opposed to >> searching ancestors in the input tree). > > As Chris said, you cannot do this. >
One reason is that the processor is allowed not to keep the output tree in memory. XSLT is designed so that the processor can instantly serialize an element's start tag with all of its attribute specifications once the element's content begins being output.
> > Thus, the output tree wouldn't be available to you to query. There is > no "going back" in order to change something or query something in the > result tree. > ...
All the best, Stefan.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Thread | Re: [xsl] How do I search ancestors, Liam R E Quin | |
Date | Re: [xsl] 16-bit chars rendered as , John English | |
Month |