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]

Passing an URL as a parameter with Xalan


hi all,
	i have a problem:
i have defined in my stylesheet an xsl:param
now i want at run-time to pass an URL to that parameter

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'
Extra illegal tokens: 'mydir', '\', 'layout.xml', style tree node: org.ap
ache.xalan.xslt.StylesheetRoot@2a5ce2b7
XSL Error: SAX Exception
There was a SAX Exception!
org.apache.xalan.xslt.XSLProcessorException: pattern = 'c:\mydir\layout.x
ml'
Extra illegal tokens: 'marcodev', '\', 'layouthtml.xml'
        at
org.apache.xalan.xslt.XSLTEngineImpl.error(XSLTEngineImpl.java:1630)
        at
org.apache.xalan.xslt.XSLTEngineImpl.error(XSLTEngineImpl.java:1594)
        at org.apache.xalan.xslt.XSLTEngineImpl.process(XSLTEngineImpl.java,
Com


i am using the latest version of Xalan

can anybody help me??
thanx in advance & regards
	marco


 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]