LassoScript Utility
Basics Browse Detail

[Encode_HTMLToXML]

Tag Link [Encode_HTMLToXML] Category Encoding
Type Substitution Source Available No
Support Preferred Version 8.5
Change New Data Source Any
Output Type String Security None
Implementation Internal Sets Lasso 8.5

Description

[Encode_HTMLToXML] converts the encoding of a string from HTML encoding to XML encoding. This tag can be used on a string which is already HTML encoded but needs to be used within an XML document that does not allow the HTML-specific entities such as  

Note - This tag is not a replacement for [Encode_HTML] or [Encode_XML]. [Encode_HTML] can be used to display a Lasso string as written within an HTML document. [Encode_XML] can be used to display a Lasso string as written within an XML document. [Encode_HTMLToXML] can be used to modify a string that has already been HTML encoded so it displays propery and validates within an XML document.

Syntax

[Encode_HTMLToXML: ' ']

Parameters

Required Parameters
Encoding Value The specified value will be converted from HTML to XML encoding.

Examples

See the Lasso 8 Language Guide for examples of how to use this tag.