skip to main content
Advanced Customizations, Overrides, and Extensions » ePublisher Platform XSLT Extensions » URI » string MakeAbsolute (string absoluteUriAsString, string uriAsString)
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')" />
Was this helpful?
Last modified date: 10/14/2020