Package Bio :: Package EUtils :: Module POM
[show private | hide private]
[frames | no frames]

Module Bio.EUtils.POM

This module implements the XML POM -- the Python Object Model for XML. It is something like DOM, but more Python-ic, and easier to use. These base classes are used to build POM source files which are self-validating python-based XML constructor objects. The major parts of the dtd2py command line tool are also here.
Classes
AttributeList  
CDATA  
Comment  
ContentModel Represents and validates a content model.
DTDConsumerForSourceGeneration  
ElementNode  
ENTITIES  
ENTITY  
Enumeration  
Fragments Fragments is a special holder class to hold 'loose' markup fragments.
ID  
IDREF  
IDREFS  
IndentedText  
NMTOKEN  
NMTOKENS  
ObjectParserHandler  
PCDATA  
POMDocument  
Text  
XMLAttribute  

Exceptions
ValidationError ValidationError This exception is raised when an attempt is made to construct an XML POM tree that would be invalid.

Function Summary
  escape(s)
  get_dtd_compiler(fo, mixinmodule, toupper)
  get_mod_file(sourcefilename)
get_mod_file(sourcefilename) Converts a file name into a file name inside the dtds package.
  get_parser(handlerclass, callback, module)
  IF(test, tv, fv)
  make_node(path, modules, value)
make_Node(path, modules, [value]) Makes a node or an XML fragment given a path, element module list, and an optional value.
  unescape(s)

Function Details

get_mod_file(sourcefilename)

get_mod_file(sourcefilename) Converts a file name into a file name inside the dtds package. This file name is the destination for generated python files.

make_node(path, modules, value=None)

make_Node(path, modules, [value]) Makes a node or an XML fragment given a path, element module list, and an optional value.

Generated by Epydoc 2.1 on Wed Jan 31 09:57:59 2007 http://epydoc.sf.net