Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


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

From: "Rashmi Rubdi" <rashmi.sub@--------->
To:
Date: 5/1/2007 5:36:00 PM
On 5/1/07, Abel Braaksma <abel.online@xxxxxxxxx> wrote:
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"

Yes it does. Infact I prefer to use / in windows wherever possible in
the XML configuration files because some programming languages escape
\ with \\ when it appears inside a String, but there's no need to
escape / when it appears in a String.

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.

I concur, that is good programming practice.



Not sure if the Mac has this
'feature' though.

I've heard that the recent versions of Mac have BSD Unix on them, so I
would assume that the Unix syntax works on Mac.

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.

Yup.




-- Abel




-Regards
Rashmi


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent