ePublisher Platform XSLT Extensions
 
string MakeAbsolute (string absoluteUriAsString, string uriAsString)
 
Convert a relative URI into an absolute URI. If the second parameter is already an absolute URI, it will be returned unchanged.
Exceptions:
OutOfMemoryException
Thrown when a low memory situation occurs.
Parameters:
absoluteUriAsString
The absolute URI as string.
uriAsString
The URI as string.
Returns:
URI as string.
Fully qualify the relative URI ../css/webworks.css against the absolute URI http://www.webworks.com/information/index.html.
<xsl:variable name="VarCSSURI" select="wwuri:MakeAbsolute('http://www.webworks.com/information/index.html', '../css/webworks.css')" />