1HTMLDocument.getAttribute(3kayKaa)ya module refereHnTcMeLDocument.getAttribute(3kaya)
2
3
4

NAME

6       HTMLDocument::getAttribute  -  Gets an attribute value from a HTML ele‐
7       ment
8

SYNOPSIS

10       Maybe<String> getAttribute( ElementTree element, String name )
11

ARGUMENTS

13       element The HTML element
14
15       name The attribute name
16

DESCRIPTION

18       Gets an attribute  value  from  a  HTML  element,  or  nothing  if  the
19       attribute is not set.
20
21
22    case getAttribute(el,"class") of {
23        nothing -> setClass(el,"recentchange");
24        | just(c) -> setClass(el,c+" recentchange");
25    }
26

AUTHORS

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

LICENSE

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