xsl-list
[Top] [All Lists]

Re: problem passing parameter to apply-templates

2005-08-31 14:51:22

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
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--