4Suite API Documentation

Module Ft.Xml

######################################################################## # $Header: /var/local/cvsroot/4Suite/Ft/Xml/__init__.py,v 1.38 2005/04/12 06:32:17 mbrown Exp $
Classes:
Functions:
Fields:

Modules

MarkupWriter

Classes

class MarkupWriter(__builtin__.object)

Methods

__getattr__(self, value)
__init__(self, stream=<open file '<stdout>', mode 'w' at 0x30036068>, **wargs)
simpleElement(self, tagName, namespace=None, extraNss=None, attributes=None, content=u'')
startElement(self, tagName, namespace=None, extraNss=None, attributes=None)
xmlFragment(self, fragment)

Methods inherited from class __builtin__.object

__delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Fields

__dict__ = <attribute '__dict__' of 'MarkupWriter' objects>
dictionary for instance variables (if defined)
__weakref__ = <attribute '__weakref__' of 'MarkupWriter' objects>
list of weak references to the object (if defined)

Fields


class ReaderException(Ft.FtException)

Methods

__init__(self, errorCode, *args)

Methods inherited from class Ft.FtException

Methods inherited from class exceptions.Exception

__getitem__

Fields


class XIncludeException(Ft.FtException)

Methods

__init__(self, errorCode, *args)

Methods inherited from class Ft.FtException

Methods inherited from class exceptions.Exception

__getitem__

Fields

Functions

ApplyXUpdate(*args, **kw_args)
#Wrap this so that we can import it later
SplitQName(qualifiedName)
SplitQName(qualifiedName) -> (prefix, localName)

where 'qualifiedName' is a QName according to XML Namespaces 1.0
<http://www.w3.org/TR/REC-xml-names>.
returns the name parts according to the spec.

Fields

XHTML_NAMESPACE = u'http://www.w3.org/1999/xhtml'
XMLNS_NAMESPACE = u'http://www.w3.org/2000/xmlns/'
XML_NAMESPACE = u'http://www.w3.org/XML/1998/namespace'