This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Passing an URL as a parameter with Xalan
- To: xsl-list at mulberrytech dot com
- Subject: Re: Passing an URL as a parameter with Xalan
- From: David_Marston at lotus dot com
- Date: Mon, 31 Jul 2000 15:56:01 -0400
- Reply-To: xsl-list at mulberrytech dot com
Marco Mistroni writes:
>i tried with file:///c:\mydir\layout.xml as value of hte parameter
>however, the XSLProcessor continues to give me the error
>XSL Error: pattern = 'c:\mydir\layout.xml'
Well, it looks like the processor got the whole string. Can you
show us how you use that parameter in the stylesheet?
BTW, one way to check the string assigned to $parm is to have
some template do
<xsl:text>parm=</xsl:text><xsl:value-of select="$parm"/>
and look at what gets put in the output. Alternatively, use
xsl:message to display it on the console.
.................David Marston
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list