• 626 views
  • 0 comments
  • loading...

xmlescape(data, quote=True) returns an escaped string of the provided data.


>>> print xmlescape('<hello>')

&
lt;hello&gt;

Attributes / Arguments

xmlescape(data, quote=True) returns an escaped string of the provided data.

>>> print xmlescape('<hello>')
&lt;hello&gt;


loading...

Sources / Reference

" xmlescape" is licensed under Creative Common License BY-NC-ND 3.0


Comments

loading...

Powered by
Web2py

Hosted on
www.pythonanywhere.com
(affiliated link)