cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivelin Ivanov" <ive...@apache.org>
Subject Re: Internals of XSLT transformer
Date Fri, 10 May 2002 13:26:53 GMT

BTW, this maybe OT but I'd still ask.

Is anyone actively working on XSLTC integration?
What is the status?

I remember Stefano was very agressive about it a few weeks ago.

Thanks,

Ivelin



----- Original Message ----- 
From: "Vadim Gritsenko" <vadim.gritsenko@verizon.net>
To: <cocoon-dev@xml.apache.org>
Sent: Friday, May 10, 2002 8:26 AM
Subject: RE: Internals of XSLT transformer


> This has nothing to do with Cocoon - this is implemented in the XSLT
> engine, like Xalan, Saxon, others.
> 
> It is likely that in order to implement this, these engines build
> temporary DOM tree to evaluate XPath.
> 
> 
> Vadim
> 
> --
> Resistance is futile. 
> 
> > From: herrie@supermachien.kotnet.org
> [mailto:herrie@supermachien.kotnet.org]
> > 
> > Hi,
> > 
> > (Since I am reaching a very hard deadline the next week, I don't have
> the
> > time to figure this out myself. Therefore I hope someone on this list
> can
> > help me)
> > 
> > since the communication between the different elements of a pipeline
> > happen via SAX events in the Cocoon model, I was wondering how XPath
> > references are implemented in the XSLT transformer?
> > 
> > An example to clarify my question:
> > Suppose I have this XML document
> > 
> > <chapter>
> > <section>
> > <title>first</title>
> > <para>text
> > </para>
> > </section>
> > <section>
> > <title>second</title>
> > <para>text
> > </para>
> > </section>
> > ...
> > ...
> > <section>
> > <title>last</title>
> > <para>text
> > </para>
> > </section>
> > </chapter>
> > 
> > And in my XSLT stylesheets I have:
> > 
> > <template match="section[position()=last()]">
> > <value-of select="title"/>
> > Title of the first section:
> > <value-of select="//section[position()=1]/title"/>
> > </template>
> > 
> > I want to know how the backward reference
> > (//section[position()=1]/title) is implemented?
> > 
> > 
> > 
> > Tnx in advance,
> > 
> > Erwin
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message