[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] xsl-t on Mac, Saxon preferred


Subject: Re: [xsl] xsl-t on Mac, Saxon preferred
From: Abel Braaksma <abel.online@xxxxxxxxx>
Date: Tue, 01 May 2007 19:21:14 +0200

Rashmi Rubdi wrote:


Since Java is platform independent, the same command line syntax that
works with Windows XP, should also work on Mac OS X , Unix etc. with
the exception of the directory separator.

In Windows it is \  and in Unix it's /  also the root folder in Unix
is / , where as in Windows its the drive letter C:\

Windows also works with forward slashes /. A path like


"c:/program files/saxon/saxon8"

on the commandline will work on all current windows systems and using paths like that will in all places where you need paths, you're making your application more platform-independent. Not sure if the Mac has this 'feature' though.

If you have code that contains paths, you must use the URI syntax (i.e. for doc(), unparsed-text() etc), which also has forward slashes for path separation.

-- Abel


Current Thread