Units
urn:WebWorks-XSLT-Extension-Units
Functions
• double
Convert (double sourceValue, string sourceUnits, string targetUnits)
Convert a measurement from one set of units to another.
Convert the given HTML/CSS color to a hex encoded CSS color. Useful for converting named colors such as green to their hex equivalents.
Determine the HTML encoding for a page given a Windows code page value.
Extract the numeric prefix of 'value'.
Convert a standard HTML/CSS color to an RTF color.
Extract the units suffix of 'value'. Only returns a non-zero length string of there is also a numeric prefix.
Detailed Description
urn:WebWorks-XSLT-Extension-Units
Utility methods for extracting units and value from raw strings along with unit-to-unit conversion routines.
Member Function Documentation
Last modified date: 10/14/2020