| Home | Trees | Index | Help |
|
|---|
| Package Modeling :: Module XMLutils |
|
XMLutils provides standard imports along with error messages when these imports fail.
Import statement should be: 'from XMLutils import *'
CVS information
$Id: XMLutils.py,v 1.6 2004/07/20 06:21:37 sbigaret Exp $
| Classes | |
|---|---|
XMLCapability |
Mix-in class ... |
| Exceptions | |
|---|---|
XMLImportError |
Raised when a xml import fails |
| Function Summary | |
|---|---|
buffer -> encoding_name The buffer should be at least 4 bytes long. | |
createDOMDocumentObject(param)
| |
strToUnicode(aString,
encoding)
| |
unicodeToStr(unicode,
encoding)
| |
| Function Details |
|---|
autoDetectXMLEncoding(buffer)
buffer -> encoding_name
The buffer should be at least 4 bytes long.
Returns None if encoding cannot be detected.
Note that encoding_name might not have an installed
decoder (e.g. EBCDIC)
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Sat Mar 4 13:36:21 2006 | http://epydoc.sf.net |