path:GetFullPath

Previous Next

Returns the absolute path leading to a directory specified by a relative path.

Syntax

path:GetFullPath( path )

The required path is a path expression identifying the directory that you want the full path of.

 

Example

This example writes to the console the full path leading to the current directory.

<pc:assign-var fullpath="{path:GetFullPath('.')}"/>
<pc:ConsoleWrite>
  The full path to the current directory is: 
  <pc:value-of select="$fullpath"></pc:value-of>
</pc:ConsoleWrite>