files:XmlFile

Previous Next

 

Returns the contents of the filepath XML file as found in the file system.

Syntax

files:XmlFile( filename )

 

Example 1

<pc:evaluate select="variable:Set('envxml', files:XmlFile('env.xml'))"/>

 

Example 2

<pc:assign-nodeset mynodeset="{files:XmlFile('config.xml')}" />
<pc:assign myinstalldir="{$mynodeset//computer[@name=environment:MachineName()]/@installdir}"/>