Philip Nye wrote:
> I'm trying to create a common config file which will work in both
> Windows and Linux installations. How can I detect from inside a macro
> which environment is being used so that I can modify operation to take
> account of it?
---
<choice>
<sequence>
<!-- On Windows -->
<test xmlns:sys="java:java.lang.System"
expression="sys:get-property('path.separator') = ';'" />
.
.
.
</sequence>
<sequence>
<!-- On other platforms -->
.
.
.
</sequence>
</choice>
---
More info in
http://www.xmlmind.com/xmleditor/_distrib/docs/commands/ch07s02.html