HTMLDocument.addList3kaya
Add a list
Usage
ElementTree addList( ElementTree parent, ListType ltype, Int initialsize, [String] initialcontents=createArray(1) )
Arguments
parent The parent element
ltype Is the list Unordered or Ordered
initialsize The initial number of list elements to have
initialcontents Optionally, the initial text content for some or all of the list elements. If this list is shorter than initialsize , then only the first list items will be populated. If it is longer, then the extra list items will be ignored.
Overview
Add a list to the parent element. Lists may only directly contain list items.
-
steps = ["Catch flamingo","Place flamingo in pan","Boil for 3 hours"];
list = addList(parent,Ordered,3,steps);
Releases
4 releases since Debian 5.0 (Lenny); the text changed 3 times.