Re: Determining the host OS

2009-01-20 Thread Martin Holmes
ubject: Re: Determining the host OS HI Steve, Do you know how to call this in a sitemap? If I pass this into an XSLT transformation: the parameter is empty. Cheers, Martin Stephen Winnall wrote: There is a module called SystemPropertyModule which appears to do what you want. Just ask it fo

Re: Determining the host OS

2009-01-20 Thread Martin Holmes
My mistake here: I'd added it to one matcher, but I was looking for it in the output of another one. It works just fine! Thanks indeed. Cheers, Martin Andy Stevens wrote: 2009/1/20 Martin Holmes : HI Steve, Do you know how to call this in a sitemap? If I pass this into an XSLT transformatio

RE: Determining the host OS

2009-01-20 Thread Robin Rigby
@cocoon.apache.org Subject: Re: Determining the host OS HI Steve, Do you know how to call this in a sitemap? If I pass this into an XSLT transformation: the parameter is empty. Cheers, Martin Stephen Winnall wrote: > There is a module called SystemPropertyModule which appears to do what > you want

Re: Determining the host OS

2009-01-20 Thread Andy Stevens
2009/1/20 Martin Holmes : > HI Steve, > > Do you know how to call this in a sitemap? If I pass this into an XSLT > transformation: > > > > the parameter is empty. That looks reasonable to me. I assume you've got the input module defined somewhere? (either in the components section of the sitemap

Re: Determining the host OS

2009-01-20 Thread Martin Holmes
HI Steve, Do you know how to call this in a sitemap? If I pass this into an XSLT transformation: the parameter is empty. Cheers, Martin Stephen Winnall wrote: There is a module called SystemPropertyModule which appears to do what you want. Just ask it for "os.name". Steve On 20 Jan 200

Re: Determining the host OS

2009-01-20 Thread Stephen Winnall
There is a module called SystemPropertyModule which appears to do what you want. Just ask it for "os.name". Steve On 20 Jan 2009, at 01:09, Martin Holmes wrote: HI folks, I'm trying to write a Cocoon-2.1-based application which I want to be completely portable between Tomcats running on L

Determining the host OS

2009-01-19 Thread Martin Holmes
HI folks, I'm trying to write a Cocoon-2.1-based application which I want to be completely portable between Tomcats running on Linux, OSX and Windows. I'm having a problem with the use of slashes and backslashes, especially on Windows, where I've found that some relative paths are expressed wi