encodeForXML
Method Signature
encodeForXML(string=[string], canonicalize=[boolean])Arguments
Argument
Type
Required
Description
Default
Examples
Related
Last updated
Was this helpful?
Encodes the input string for safe output in the body of a HTML tag.
encodeForXML(string=[string], canonicalize=[boolean])string
string
true
The string to encode.
canonicalize
boolean
true
Whether to canonicalize the string before encoding.
false
Last updated
Was this helpful?
Was this helpful?
