Re: Parameter issue using setparameter and XSLT
| Newsgroups | gmane.comp.mozilla.devel.layout.xslt |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <[email protected]> |
On Mar 14, 11:14 am, Martin Honnen <[email protected]> wrote: > [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/ Martin Of course, thank you. The fact that it worked in Opera caused me to overlook this rather obvious, now that you point it out, error in specifying the interface to the style sheet. Thanks again John Perkins