Example of using variable

<oXygen/> general issues.
daliboris
Posts: 18

Example of using variable

Thu Jan 12, 2012 10:48 am

Hello, I can't find example of using system or environment variables.
First: what is the difference between "system" and "environment".
Second: how should be name of the variable formated.
Concrete example: I use Windows and I wan set path to the AltovaXML in Program Files folder, I want use Windows enviroment variable called %PROGRAMFILES%. How can I do that?

Thank you.
adrian
Posts: 2488

Re: Example of using variable

Thu Jan 12, 2012 4:37 pm

Hello,

I'm not sure of the context where you want to use editor variables(transformation scenario, external tool, etc). Can you please clarify?

"System variables" refers to Java system properties. I've logged a documentation issue to clarify this in the Oxygen manual.

For the PROGRAMFILES environment variable you ca use:
${env(PROGRAMFILES)}

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
daliboris
Posts: 18

Re: Example of using variable

Tue Jan 24, 2012 11:04 pm

Thank you for youre example. It works.

Return to “Other Issues”

Who is online

Users browsing this forum: No registered users and 1 guest