Re: [xsl] problem passing parameter to apply-templates

Subject: Re: [xsl] problem passing parameter to apply-templates
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 31 Aug 2005 22:51:22 +0100
> Ok, here is the code:

but not the part of the code that causing the problem.

 <xsl:apply-templates
select="document('../xml/clasif2.xml')/clasif2">

You haven't shown your template for the clasif2 element (as stated
earlier, this needs to pass on the parameter) and your posted input file
didn't have a classif2 elelment. Also you need to declare nodes as a
para (not a variable) in teh templates weher it is used.

David


________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread