Re: problem passing parameter to apply-templates
> 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 ________________________________________________________________________
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format