ePublisher Platform XSLT Extensions
string GetRelativeTo (string path, string anchorPath)
 
Determines the relative path from the absolute anchor path to the absolute destination path.May return an absolute path if no relative path exists.
Exceptions:
OutOfMemoryException
Thrown when a low memory situation occurs.
Parameters:
path
Full pathname of the file.
anchorPath
Full pathname of the anchor file.
Returns:
The relative to path.