It works!
I didn't know you could mix the apply-templates with the call-template :)
I'm still a newbie :/
Thank you very much
Frank.
-----Original Message-----
From: Jarno.Elovirta@xxxxxxxxx [mailto:Jarno.Elovirta@xxxxxxxxx]
Sent: jueves, 25 de octubre de 2001 10:57
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: A better solution...
> Yes you are right, I wanted (//Section[@Title=$S])[1]
> I can't use the apply templates because the second template
> is recursive
> (it calls itself many times). :/
That shouldn't be a problem, first the template is matched when
apply-templates is used and then inside the template it just calls itself.
Did you try this and it didn't work? Could you show us the template?
Jarno
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|