<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.netio-products.com/index.php?action=history&amp;feed=atom&amp;title=Function_xml.escape%28%29</id>
	<title>Function xml.escape() - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.netio-products.com/index.php?action=history&amp;feed=atom&amp;title=Function_xml.escape%28%29"/>
	<link rel="alternate" type="text/html" href="https://wiki.netio-products.com/index.php?title=Function_xml.escape()&amp;action=history"/>
	<updated>2026-04-21T19:41:18Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.32.0</generator>
	<entry>
		<id>https://wiki.netio-products.com/index.php?title=Function_xml.escape()&amp;diff=328&amp;oldid=prev</id>
		<title>Jturon at 17:19, 5 May 2017</title>
		<link rel="alternate" type="text/html" href="https://wiki.netio-products.com/index.php?title=Function_xml.escape()&amp;diff=328&amp;oldid=prev"/>
		<updated>2017-05-05T17:19:00Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 17:19, 5 May 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{DISPLAYTITLE:function xml.escape()}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{DISPLAYTITLE:function xml.escape()}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Escapes XML string to fit xml node contents.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Escapes XML string to fit xml node contents.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &amp;lt;i&amp;gt;string&amp;lt;/i&amp;gt; &amp;lt;b&amp;gt;xml.escape&amp;lt;/b&amp;gt;(&amp;lt;code&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;xmlstring&lt;/del&gt;&amp;lt;/code&amp;gt;)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &amp;lt;i&amp;gt;string&amp;lt;/i&amp;gt; &amp;lt;b&amp;gt;xml.escape&amp;lt;/b&amp;gt;(&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;i&amp;gt;string&amp;lt;/i&amp;gt; &lt;/ins&gt;&amp;lt;code&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;xml&lt;/ins&gt;&amp;lt;/code&amp;gt;)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Parameters ===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Parameters ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;i&amp;gt;string&amp;lt;/i&amp;gt; &amp;lt;code&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;xmlstring&lt;/del&gt;&amp;lt;/code&amp;gt; string to escape&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;i&amp;gt;string&amp;lt;/i&amp;gt; &amp;lt;code&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;xml&lt;/ins&gt;&amp;lt;/code&amp;gt; string to escape&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Return value ===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Return value ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jturon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.netio-products.com/index.php?title=Function_xml.escape()&amp;diff=284&amp;oldid=prev</id>
		<title>Jturon: Založena nová stránka s textem „{{DISPLAYTITLE:function xml.escape()}} Escapes XML string to fit xml node contents.  &lt;i&gt;string&lt;/i&gt; &lt;b&gt;xml.escape&lt;/b&gt;(&lt;code&gt;xmlstring&lt;/code&gt;)  === Parameter…“</title>
		<link rel="alternate" type="text/html" href="https://wiki.netio-products.com/index.php?title=Function_xml.escape()&amp;diff=284&amp;oldid=prev"/>
		<updated>2017-04-21T13:56:14Z</updated>

		<summary type="html">&lt;p&gt;Založena nová stránka s textem „{{DISPLAYTITLE:function xml.escape()}} Escapes XML string to fit xml node contents.  &amp;lt;i&amp;gt;string&amp;lt;/i&amp;gt; &amp;lt;b&amp;gt;xml.escape&amp;lt;/b&amp;gt;(&amp;lt;code&amp;gt;xmlstring&amp;lt;/code&amp;gt;)  === Parameter…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{DISPLAYTITLE:function xml.escape()}}&lt;br /&gt;
Escapes XML string to fit xml node contents.&lt;br /&gt;
 &amp;lt;i&amp;gt;string&amp;lt;/i&amp;gt; &amp;lt;b&amp;gt;xml.escape&amp;lt;/b&amp;gt;(&amp;lt;code&amp;gt;xmlstring&amp;lt;/code&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
* &amp;lt;i&amp;gt;string&amp;lt;/i&amp;gt; &amp;lt;code&amp;gt;xmlstring&amp;lt;/code&amp;gt; string to escape&lt;br /&gt;
&lt;br /&gt;
=== Return value ===&lt;br /&gt;
 string&lt;br /&gt;
Escaped characters are&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! input !! output&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt; || &amp;amp;amp;lt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;gt; || &amp;amp;amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;quot; || &amp;amp;amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ' || &amp;amp;amp;apos;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp; || &amp;amp;amp;amp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Usage ===&lt;br /&gt;
 -- escape string&lt;br /&gt;
 local note = xml.escape(&amp;quot;3&amp;lt;5&amp;quot;)&lt;br /&gt;
 -- put the escaped string &amp;quot;3&amp;amp;lt;5&amp;quot; into xml node&lt;br /&gt;
 local node = &amp;quot;&amp;lt;note&amp;gt;&amp;quot;..note..&amp;quot;&amp;lt;/note&amp;gt;&amp;quot;&lt;br /&gt;
 -- parse the node&lt;br /&gt;
 local result = xml.parse(node)&lt;br /&gt;
 -- check the contents (text is unescaped: &amp;quot;3&amp;lt;5&amp;quot;)&lt;br /&gt;
 log(result.text)&lt;br /&gt;
&lt;br /&gt;
=== See also ===&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>Jturon</name></author>
		
	</entry>
</feed>