Archive

Posts Tagged ‘xpath’

Opalis: working with XML-files

August 16th, 2010 No comments

I personally don’t like to store hard coded values in any of my scripts. They limit your abilities for future use. it’s the same with Opalis so I decided to store my configuration in an XML-file.

1) create a new .xml-file and create a new tree

<?xml version="1.0" encoding="ISO-8859-1"?>

<config>

<domain>
  <FQDN>mydomain.local</FQDN>
</domain>

<USER>
  <DEFAULTPASS>PKeTR3ss1w2xS</DEFAULTPASS>
</USER>

</config>

Read more…

Categories: Opalis Tags: , ,