1ElementTree.simpleEncode(3kayaK)aya module referenEcleementTree.simpleEncode(3kaya)
2
3
4

NAME

6       ElementTree::simpleEncode - HTML-escape a string
7

SYNOPSIS

9       String  simpleEncode(  String invalue, Bool leavequotes=false, Unicode‐
10       Format uform=LiteralUTF8 )
11

ARGUMENTS

13       invalue The String to escape
14
15       leavequotes Whether to leave quotes unescaped.  This  is  optional  and
16       defaults to false (i.e. quotes will be escaped)
17
18       uform  If  this  is set to NumericReference (not the default) then non-
19       ASCII characters will be replaced by numeric references.
20

DESCRIPTION

22       HTML-escape a string, so that <, >, & and possibly " are  converted  to
23       their entity equivalents (&lt;, &gt;, &amp; and &quot; respectively).
24
25       This  is  automatically  done to all element text content and attribute
26       values when converting ElementTree to String - this  function  is  pro‐
27       vided for use in other contexts.
28

AUTHORS

30       Kaya   standard  library  by  Edwin  Brady,  Chris  Morris  and  others
31       (kaya@kayalang.org). For further information see http://kayalang.org/
32

LICENSE

34       The Kaya standard library is free software;  you  can  redistribute  it
35       and/or  modify  it  under  the  terms  of the GNU Lesser General Public
36       License (version 2.1 or any later version) as  published  by  the  Free
37       Software Foundation.
38
39
40
41Kaya                             December 2010 ElementTree.simpleEncode(3kaya)
Impressum