> -----Original Message-----
> From: Johannes Franz [mailto:[EMAIL PROTECTED]
>
> Thanks.
> Your version provided the right way. Do you know a page with examples for
> the xslt functions? So that i don't have to strain this list all
> the time.
> :)
>

Check: http://www.dpawson.co.uk/xsl/sect2/sect21.html

Examples organised by theme.  Lots and lots of them... :)

> One last problem still remains. The position seems to be
> multiplicated with two.
> I mean the name of the files is foo2.html foo4.html and so on. Thats
> not very terrible, but perhaps there is a way to devide position by 2. :)
>

Sure, if you really know for sure it's always going to be a multiple of 2,
try:

concat('foo',position() div 2,'.html')

But with that result, I can't help but wonder what the XML structure looks
like (as well as your XSL template one level up, where it's applied to the
'/doc/foo' nodes)... Any reason why the processed node's position in the
node-set is always double of what you would expect?


Cheers,

Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to