xml.entityDecode
| Syntax |
xml.entityDecode (encodedString, flAlphaEntities = false, flSkipMalformedEntities = false)
|
| Params |
encodedString is a string that may contain entities encoded according to 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 decoded. flSkipMalformedEntities is an optional parameter new in Frontier 8.0. If true, then malformed numerical entities which either contain non-numeric characters or which lack an ending semicolon character don't cause an error. They're passed through as-is.
|
| Action |
Returns the decoded string.
|
| Returns |
A string.
|
| Examples |
xml.entityDecode ("Olejováø "skvrna" na", true) » "Olejováø \"skvrna" na"
xml.entityDecode ("Oh the <buzzing> of the bees & the "sycamore" trees..", true)
|
| Notes |
See the W3C XML 1.0 specification for an explanation of entities.
|
| See Also |
xml.entityEncode
|