Re: [xslt] position() and apply-templates creating a copy
- From: ERDI Gergo <cactus cactus rulez org>
- To: Daniel Veillard <veillard redhat com>
- Cc: xslt gnome org
- Subject: Re: [xslt] position() and apply-templates creating a copy
- Date: Mon, 12 Nov 2001 21:03:53 +0100 (CET)
On Sun, 11 Nov 2001, Daniel Veillard wrote:
> [ xslt@gnome.org is not the best place for asking XSLT syntax and processing
> help, there is more qualified lists for this especially the XSL list
> at mulberry (pointers from http://xmlsoft.org/XSLT/bugs.html), Daniel ]
Sorry, I wasn't aware of this, and the results were so surprising to me
that I even tought it may be a libxslt bug.
> foo elements are processed by the template when called by the
> implicit <xsl:apply-templates/> at the root element. The current
> node list for the processing are the children of the root node, i.e.:
>
> Text - foo - text - foo - text - foo -text
Thanks for all the explanation. It turned out that xsl:number is what I
really need, instead of position() -- thanks to Ankh for pointing it out
to me.
Gergo
--
.--= ULLA! =---------------------. `We are not here to give users what
\ http://cactus.rulez.org \ they want' -- RMS, at GUADEC 2001
`---= cactus@cactus.rulez.org =---'
Nyomd meg egyszer az ESC-et a kilépéshez és kétszer az elmentéshez
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]