xml-encoding

XSL and Flash XML breaks escaping

I have an XSL file I am loading in flash that includes the following snippet: <xsl:text>&#x2022;</xsl:text> I load it this way: _root.brochure_xsl = new XML(); _root.brochure_xsl.onLoad = function() { _root.SendPdfXml(); } _root.brochure_xsl.ignoreWhite = true; _root.brochure_xsl.load(_root.appSettings.XmlDataLocation +"xml/broc...

Xml Escaping/Encoding terminology

I'm confused as for the difference between the terms "escaping" and "encoding" in phrases like: Xml Encoding Xml Escaping Encoded Html Escaped Url ... Can anyone explain it to me? ...

How do I XML-encode a string in Erlang?

I have a erlang string which may contain characters like & " < and so on: 1> Unenc = "string & \"stuff\" <". ok Is there a Erlang function somewhere that parses the string and encodes all the needed HTML/XML entities, such as: 2> Enc = xmlencode(Unenc). "string &amp; &quot;stuff&quot; &lt;". ? My use case is for relatively short s...