Lasso Soft Inc. > Home

[ string->encodexml ]


[string->encodexml] encodes any XML reserved or illegal characters in the string object into XML entities.

This method ensures that text will display with high fidelity in a Web browser. Any angle brackets will be encoded as XML entitities so they are not mistaken for XML markup. Any high-ASCII characters will be encoded as XML entitites so they display in Web browsers on any platform.

  • Syntax
'String Value'->encodexml
  • Beginner

To encode any XML reserved or illegal characters:

Use the [string->encodexml] method. The following example returns XML-encoded characters.


'& " < >'->encodexml


&amp; &quot; &lt; &gt;

Recent Comments

No Comments found

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home



©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft