XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
David CorleySubject: Need help with xsl:param problem
Author: David Corley
Date: 30 May 2006 06:58 AM
Originally Posted: 30 May 2006 06:53 AM
I have a piece of code that takes an input xml file and processes it with some xslt that has 2 paramaters passed to it at runtime.
It seems that the parameters are never used at the location I reference them in the xsl. The correct parameters are being passed, but I suspect its my usage of the params in template:match that's causing the problem.
I'm attaching a sample xml file and the xsl file. Any help at all would be greatly appreciated!


Documentbig_filter.xsl
PMD reports xsl filter

Documentpmd-qrank8.xml
Sample PMD report

Posttop
David CorleySubject: Need help with xsl:param problem
Author: David Corley
Date: 30 May 2006 08:39 AM
Just found out that the use of an "xsl:param" value in "xsl:template match" is not allowed in XSLT 1.0. Switched the stylesheet version to 2.0 and it worked perfectly. Happy days!

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.