The XmlAttributeEncode() function encodes the given text such that is can safely be used inside an XML attribute.

Syntax

XmlAttributeEncode(text)

Returns

A text that can safely be used inside an XML attribute

Parameters

  • text – a text that is used as an XML attribute

Examples

XmlAttributeEncode("Please repeat after me: \"I love to work with WEM.\".")
/* Return "Please repeat after me: "I love to work with WEM."." */

XmlAttributeEncode("L' = 3 < x & x > 6")
/* Return "L&apos; = 3 &lt; x &amp; x &gt; 6" */

 +31 (0)20 240 21 20       

Videos and images courtesy of WEM Modeler. © 2019. WEM Modeler.
SitemapPrivacy - Terms - Company

 +31 (0)20 240 21 20       


Videos and images courtesy of WEM Modeler.
© 2019 WEM Modeler.
SitemapPrivacy - Terms - Company