Subject: AW: Passing an URL as a parameter with Xalan From: "Schmitt, Christian" <Christian.Schmitt@xxxxxxxxxxxxxxxxx> Date: Mon, 31 Jul 2000 12:00:42 +0200 |
Marco, I'm not quite sure, but you might want to try forward slashes instead of back slashes in the file name. Hope this helps, Christian > -----Ursprüngliche Nachricht----- > Von: Marco.Mistroni@xxxxxxxxx [mailto:Marco.Mistroni@xxxxxxxxx] > Gesendet am: Montag, 31. Juli 2000 10:22 > An: xsl-list@xxxxxxxxxxxxxxxx > Betreff: 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 > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: M.Kay XSLT book, p. 120 Curly b, Kay Michael | Thread | FW: problem with passing parameters, Marco . Mistroni |
M.Kay XSLT book, p. 120 Curly brace, Gert Bultman | Date | RE: Building menus, Jarno Elovirta |
Month |