string GetRelativeTo (string uriAsString, string anchorUriAsString)
Convert an absolute
URI into a relative
URI.
Exceptions:
OutOfMemoryException | Thrown when a low memory situation occurs. |
Parameters:
uriAsString | |
anchorUriAsString | The anchor URI as string. |
Returns:
The relative to.
Determine the relative path to http://www.webworks.com/css/webworks.css from http://www.webworks.com/information/index.html.
<xsl:variable name="VarRelativeURI" select="wwuri:GetRelativeTo('http://www.webworks.com/css/webworks.css', 'http://www.webworks.com/information/index.html')" />
Last modified date: 10/14/2020