escapeXML

From Documentation
Revision as of 07:55, 16 November 2010 by Tomyeh (talk | contribs) (Created page with '{{ZUMLReferencePageHeader}} <source lang="java"> String escapeXML(String s); </source> :i.e., <javadoc method="escapeXML(java.lang.String)">org.zkoss.xml.XMLs</javadoc> Encode…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
String escapeXML(String s);
i.e., XMLs.escapeXML(String)

Encodes a string that special characters are quoted to be compatible with HTML/XML. For example, < is translated to <. & -> & < -> < > -> > " -> " ' -> '

Parameters:

  • s - the string to encode

Version History

Last Update : 2010/11/16

Version Date Content
     



Last Update : 2010/11/16

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.