4Suite API Documentation

Module Ft.Xml.cDomlettec

cDomlette implementation: a very fast DOM-like library tailored for use in XPath/XSLT

Copyright 2003 Fourthought, Inc. (USA).
Detailed license and copyright information: http://4suite.org/COPYRIGHT
Project home, documentation, distributions: http://4suite.org/
Functions:
Fields:

Functions

CreateParser([readExtDtd])
CreateParser([readExtDtd]) -> Parser

Return a new XML parser object.
GetAllNs(node)
GetAllNs(node) -> dict

Get all of the namespaces defined in scope of this node.
GetNodeCount() -> int

For regression testing.
NonvalParse(isrc[, readExtDtd[, parseAsEntity]])
nonvalParse(isrc[, readExtDtd[, parseAsEntity]]) -> Document
Parse(isrc[, readExtDtd[, parseAsEntity]])
parse(isrc[, readExtDtd[, parseAsEntity]]) -> Document
SeekNss(node)
SeekNss(node) -> dict

Traverses the tree to seek an approximate set of defined namespaces.
StartNodeCounting()

For regression testing.
TestRefCounts(tester, document)
TestRefCounts(tester, document)

For regression testing.
TestTree() -> Document

For regression testing.

Fields

CAPI = <PyCObject object>
C objects to be exported from one extension module to another

C objects are used for communication between extension modules. They
provide a way for an extension module to export a C interface to other
extension modules, so that extension modules can use the Python import
mechanism to link to one another.
Expat_CAPI = <PyCObject object>
C objects to be exported from one extension module to another

C objects are used for communication between extension modules. They
provide a way for an extension module to export a C interface to other
extension modules, so that extension modules can use the Python import
mechanism to link to one another.
FEATURE_PROCESS_XINCLUDES = 'http://4suite.org/sax/features/process-xincludes'
PROPERTY_WHITESPACE_RULES = 'http://4suite.org/sax/properties/whitespace-rules'
implementation = <DOMImplementation>
The DOMImplementation interface provides a number of methods for performing operations that are independent of any particular instance of the document object model.