Re: Parameter issue using setparameter and XSLT

Martin Honnen <[email protected]> Wed, 14 Mar 2007 16:14:05 +0100
Newsgroups gmane.comp.mozilla.devel.layout.xslt
Organization Liberty Development
Message-ID <[email protected]>
[email protected] wrote:

> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> version="1.0">
> <xsl:template match="/">
> <xsl:param name="url"/>

The xsl:param element, to define a global parameter that can be set from 
outside, must be defined as a top level child of the xsl:stylesheet 
element so you need to move the xsl:param outside of the xsl:template to 
make that work

-- 

	Martin Honnen
	http://JavaScript.FAQTs.com/