This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Passing an URL as a parameter with Xalan



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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]