Imported modules
|
|
from Globals import MessageDialog
import htmlentitydefs
import types
import urllib
import xml.dom.minidom
|
Functions
|
|
|
|
URIHasServerName
|
URIHasServerName ( URI )
Returns True if the URI is containing a server name, False otherwise.
|
|
convert
|
convert (
text,
encoding_from,
encoding_to,
)
Converts text , encoded in encoding_from to the encoding encoding_to .
returns the text converted into encoding_to (if necessary) or raise an exception if something weird happened
text : a string containing the text to convert
encoding_from : a string containing the encoding of the text to convert
encoding_to : a string containing the encoding to convert the text to
|
|
getDict
|
getDict ( fichier_string, encoding=DEFAULT_ENCODING )
Returns the dict by calling the recursive method recurse_getDict.
|
|
getInvalidMsg
|
getInvalidMsg (
server='',
port='',
username='',
password='',
encoding='',
)
Verifies if the parameters passed to create or modify an eXistDA object are valid for use. Not all is verified...
|
|
getRscNameFromURI
|
getRscNameFromURI ( URI )
Get the resource name from an URI.
|
|
getServerNameFromURI
|
getServerNameFromURI ( URI )
Get the server name from an URI.
|
|
is4SuiteAvailable
|
is4SuiteAvailable ()
Returns 1 if 4Suite can be used to make external XSLT, 0 otherwise.
|
|
isHTTPURI
|
isHTTPURI ( URI )
Verifies if URI is an HTTP URI (ie beggining with HEADER_HTTP_URI ).
|
|
iseXistURI
|
iseXistURI ( URI )
Verifies if URI is an eXist URI (ie beggining with HEADER_EXIST_URI).
|
|
recurse_getDict
|
recurse_getDict (
noeud,
encoding,
lst_nom_noeuds,
cedico,
)
Returns a part of a dict which keys are XML tags and their values.
|