xml.entityEncode
| Syntax |
xml.entityEncode (unencodedString, flAlphaEntities = false)
|
| Params |
unencodedString is a string that's to be encoded according to the rules of the W3C's XML 1.0 specification. flAlphaEntities is an optional boolean parameter that determines if double-quotes, ampersands, left angle brackets and right angle brackets are to be encoded.
|
| Action |
Returns the encoded string.
|
| Returns |
A string.
|
| Examples |
xml.entityEncode ("Olejováø \"skvrna" na", true) » "Olejováø "skvrna" na"
xml.entityEncode ("Oh the
|
| Notes |
See the W3C XML 1.0 specification for an explanation of entities.
|
| See Also |
xml.entityDecode
|