6.1.1 Tag Objects
- 
Raises a TemplateError exception using the string in the
msg argument.
- 
Returns TRUEif the attribute specified in the name
argument was defined for the tag.  All attribute names are converted
to lower case by the template parser.
- 
If the attribute specified in the name argument is not defined
for the tag a TemplateError exception will be raised.
- 
  | assert_any_attrib( | *names) |  
 
- 
If none of the attributes specified by the arguments are defined for
the tag a TemplateError exception will be raised.
- 
  | get_attrib( | name [, default = None]) |  
 
- 
Retrieves the value of the attribute specified in the name
argument.
- 
Sets the value of the attribute named in the name argument to
the value in the value argument.
- 
Defines the order that the tag attributes will be written during
conversion to HTML.  The template parser captures the attribute
sequence from the template file then calls this method.
- 
Returns a list of attribute name, value tuples which are defined for
the tag.
- 
  | write_attribs_except( | ctx [, ...]) |  
 
- 
Sends all tag attributes to the write_content() method of the
execution context in the ctx argument.  Any attributes named in
additional arguments will not be written.
Release 1.35, documentation updated on June 20, 2006.