Home | Trees | Indices | Help |
|
---|
|
object --+ | S3XML
XML toolkit for S3XRC
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
|
|||
|
|||
|
|||
|
|
|||
namespace = "sahana"
|
|||
CACHE_TTL = 5
|
|||
UID = "uuid"
|
|||
MCI = "mci"
|
|||
MTIME = "modified_on"
|
|||
Lat = "lat"
|
|||
Lon = "lon"
|
|||
IGNORE_FIELDS = ["deleted", "deleted_fk", "v_record_status", "
|
|||
FIELDS_TO_ATTRIBUTES = ["id", "created_on", "modified_on", "cr
|
|||
ATTRIBUTES_TO_FIELDS = ["admin", "mci"]
|
|||
TAG = Storage(root= "s3xml", resource= "resource", reference=
|
|||
ATTRIBUTE = Storage(id= "id", name= "name", table= "table", fi
|
|||
ACTION = Storage(create= "create", read= "read", update= "upda
|
|||
PREFIX = Storage(resource= "$", options= "$o", reference= "$k"
|
|||
ISOFORMAT = "%Y-%m-%dT%H:%M:%SZ" universal timestamp |
|
|||
Inherited from |
|
Constructor
|
Parse an XML source into an element tree
|
Transform an element tree with XSLT
|
Convert an element tree into XML as string
|
Builds a S3XML tree from a list of elements
|
XML-escape a string
|
XML-unescape a string
|
Exports UIDs with domain prefix
|
Imports UIDs with domain prefixes
|
Get the representation of a field value
|
Generates a reference map for a record
|
Adds <reference> elements to a <resource>
|
GIS-encodes location references
|
Creates a <resource> element from a record
|
Selects resources from an element tree
|
Resolves references in XML resources
|
Creates a record (Storage) from a <resource> element and validates it
|
Get options of a field as <select>
|
Get options of option fields in a table as <select>s
|
Get fields in a table as <fields> element
|
Get the table structure as XML tree
|
Converts a data field from JSON into an element
|
Converts a JSON object into an element
|
Converts JSON into an element tree
|
Converts an element into JSON
|
Converts an element tree into JSON
|
Convert a table-form CSV source into an element tree, consisting of <table name="format">, <row> and <col field="fieldname"> elements.
|
Provide a nicely-formatted JSON Message
|
|
namespace
|
CACHE_TTL
|
UID
|
MCI
|
MTIME
|
Lat
|
Lon
|
IGNORE_FIELDS
|
FIELDS_TO_ATTRIBUTES
|
ATTRIBUTES_TO_FIELDS
|
TAG
|
ATTRIBUTE
|
ACTION
|
PREFIX
|
ISOFORMATuniversal timestamp
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Mar 29 14:25:42 2011 | http://epydoc.sourceforge.net |