rulesservice:ReadConfig

Previous Next

Returns the contents of a USoft Rules Service configuration file converted to an XML document.

Syntax

rulesservice:ReadConfig( path )

The required path is a path expression identifying the configuration file that you want to read.

 

Example

<example xmlns:pc="Processing.Command">
    <pc:copy-of select="rulesservice:ReadConfig('c:\usd91\bin64\RulesService-7777.config')"/>
</example>

If the input file looks like this:

URE.PASSWORD.RDBMSPassword

 o1@(mWVKD'>YL6HAVV=Z4-<8*519>I[J4*#T-R$.?9)1W:\b7XU

URE.TEXT.Application

TRAVEL

URE.TEXT.AutoStart

yes

 

...

then the return value looks like this:

<example>
   <config>
      <param name="URE.PASSWORD.RDBMSPassword"> o1@(mWVKD'&gt;YL6HAVV=Z4-&lt;8*519&gt;I[J4*#T-R$.?9)1W:\b7XU</param>
      <param name="URE.TEXT.Application">TRAVEL</param>
      <param name="URE.TEXT.AutoStart">yes</param>
      

      ...

 
   </config>
</example>