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: URL stroke passing in XSL


Albert Tsun wrote:
> 
> Hi all,
> 
> I am now trying to pass a URL as a parameter into a stylesheet  in order to
> get multiple output files in
> a specific output directory. I am using xalan-J for my XSLT.
> 
> in my Java program:
> 
> processor.setStylesheetParam("outputpath", "'file:\\d:\\output'");

It's not your main problem, but don't "file:" URLs use forward slashes ("/"),
not backslashes ("\")?  Be careful not to use platform-dependent syntax
if it should be Internet-based syntax.



-- 
Daniel Barclay
Digital Focus
Daniel.Barclay@digitalfocus.com


 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]