Package bridge :: Module common
[hide private]
[frames] | no frames]

Module common

source code

Variables [hide private]
  XML_NS = u'http://www.w3.org/XML/1998/namespace'
  XML_PREFIX = u'xml'
  XMLNS_NS = u'http://www.w3.org/2000/xmlns/'
  XMLNS_PREFIX = u'xmlns'
  XHTML1_NS = u'http://www.w3.org/1999/xhtml'
  XHTML1_PREFIX = u'xhtml'
  ATOM10_PREFIX = u'atom'
  ATOMPUB_PREFIX = u'app'
  PREFIX = u'thr'
  THR = u'thr'
  ATOM10_NS = u'http://www.w3.org/2005/Atom'
  ATOMPUB_NS = u'http://purl.org/atom/app#'
  THR_NS = u'http://purl.org/syndication/thread/1.0'
  atom_as_attr = {u'http://purl.org/syndication/thread/1.0': ['in-rep...
  atom_as_list = {u'http://www.w3.org/2005/Atom': ['author', 'contrib...
  atom_attribute_of_element = {None: ['type', 'term', 'href', 'rel', 'scheme', 'la...
  DC_NS = u'http://purl.org/dc/elements/1.1/'
  DC_PREFIX = u'dc'
  dc_as_attr = {u'http://purl.org/dc/elements/1.1/': ['author', 'co...
  ODF_META_NS = u'urn:oasis:names:tc:opendocument:xmlns:meta:1.0'
  ODF_META_PREFIX = u'meta'
  ODF_OFFICE_NS = u'urn:oasis:names:tc:opendocument:xmlns:office:1.0'
  ODF_OFFICE_PREFIX = u'office'
  ODF_TEXT_NS = u'urn:oasis:names:tc:opendocument:xmlns:text:1.0'
  ODF_TEXT_PREFIX = u'text'
  ODF_TABLE_NS = u'urn:oasis:names:tc:opendocument:xmlns:table:1.0 '
  ODF_TABLE_PREFIX = u'table'
  ODF_DRAWING_NS = u'urn:oasis:names:tc:opendocument:xmlns:drawing:1.0'
  ODF_DRAWING_PREFIX = u'drawing'
  ODF_PRESENTATION_NS = u'urn:oasis:names:tc:opendocument:xmlns:presentation...
  ODF_PRESENTATION_PREFIX = u'presentation'
  odf_meta_as_attr = {u'urn:oasis:names:tc:opendocument:xmlns:meta:1.0': ...
  odf_office_as_attr = {u'http://purl.org/dc/elements/1.1/': ['author', 'co...
  XHTML10_NS = u'http://www.w3.org/1999/xhtml'
  XHTML10_PREFIX = u'xhtml'
  xhtml_as_attr = {u'http://www.w3.org/1999/xhtml': ['head', 'body']}
  xhtml_as_list = {u'http://www.w3.org/1999/xhtml': ['meta', 'link', '...
  xhtml_attribute_of_element = {None: ['content', 'name', 'lang']}

Variables Details [hide private]

XML_NS

None
Value:
u'http://www.w3.org/XML/1998/namespace'                                
      

XML_PREFIX

None
Value:
u'xml'                                                                 
      

XMLNS_NS

None
Value:
u'http://www.w3.org/2000/xmlns/'                                       
      

XMLNS_PREFIX

None
Value:
u'xmlns'                                                               
      

XHTML1_NS

None
Value:
u'http://www.w3.org/1999/xhtml'                                        
      

XHTML1_PREFIX

None
Value:
u'xhtml'                                                               
      

ATOM10_PREFIX

None
Value:
u'atom'                                                                
      

ATOMPUB_PREFIX

None
Value:
u'app'                                                                 
      

PREFIX

None
Value:
u'thr'                                                                 
      

THR

None
Value:
u'thr'                                                                 
      

ATOM10_NS

None
Value:
u'http://www.w3.org/2005/Atom'                                         
      

ATOMPUB_NS

None
Value:
u'http://purl.org/atom/app#'                                           
      

THR_NS

None
Value:
u'http://purl.org/syndication/thread/1.0'                              
      

atom_as_attr

None
Value:
{u'http://purl.org/atom/app#': ['edited', 'accept'],
 u'http://purl.org/syndication/thread/1.0': ['in-reply-to', 'total'],
 u'http://www.w3.org/2005/Atom': ['id',
                                  'title',
                                  'updated',
                                  'published',
                                  'icon',
                                  'logo',
...                                                                    
      

atom_as_list

None
Value:
{u'http://purl.org/atom/app#': ['collection', 'workspace', 'categories
'],
 u'http://www.w3.org/2005/Atom': ['author',
                                  'contributor',
                                  'category',
                                  'link',
                                  'entry']}                            
      

atom_attribute_of_element

None
Value:
{None: ['type',
        'term',
        'href',
        'rel',
        'scheme',
        'label',
        'title',
        'length',
...                                                                    
      

DC_NS

None
Value:
u'http://purl.org/dc/elements/1.1/'                                    
      

DC_PREFIX

None
Value:
u'dc'                                                                  
      

dc_as_attr

None
Value:
{u'http://purl.org/dc/elements/1.1/': ['author',
                                       'coverage',
                                       'creator',
                                       'date',
                                       'description',
                                       'format',
                                       'identifier',
                                       'language',
...                                                                    
      

ODF_META_NS

None
Value:
u'urn:oasis:names:tc:opendocument:xmlns:meta:1.0'                      
      

ODF_META_PREFIX

None
Value:
u'meta'                                                                
      

ODF_OFFICE_NS

None
Value:
u'urn:oasis:names:tc:opendocument:xmlns:office:1.0'                    
      

ODF_OFFICE_PREFIX

None
Value:
u'office'                                                              
      

ODF_TEXT_NS

None
Value:
u'urn:oasis:names:tc:opendocument:xmlns:text:1.0'                      
      

ODF_TEXT_PREFIX

None
Value:
u'text'                                                                
      

ODF_TABLE_NS

None
Value:
u'urn:oasis:names:tc:opendocument:xmlns:table:1.0 '                    
      

ODF_TABLE_PREFIX

None
Value:
u'table'                                                               
      

ODF_DRAWING_NS

None
Value:
u'urn:oasis:names:tc:opendocument:xmlns:drawing:1.0'                   
      

ODF_DRAWING_PREFIX

None
Value:
u'drawing'                                                             
      

ODF_PRESENTATION_NS

None
Value:
u'urn:oasis:names:tc:opendocument:xmlns:presentation:1.0'              
      

ODF_PRESENTATION_PREFIX

None
Value:
u'presentation'                                                        
      

odf_meta_as_attr

None
Value:
{u'urn:oasis:names:tc:opendocument:xmlns:meta:1.0': ['document-statist
ic',
                                                     'creation-date',
                                                     'keyword']}       
      

odf_office_as_attr

None
Value:
{u'http://purl.org/dc/elements/1.1/': ['author',
                                       'coverage',
                                       'creator',
                                       'date',
                                       'description',
                                       'format',
                                       'identifier',
                                       'language',
...                                                                    
      

XHTML10_NS

None
Value:
u'http://www.w3.org/1999/xhtml'                                        
      

XHTML10_PREFIX

None
Value:
u'xhtml'                                                               
      

xhtml_as_attr

None
Value:
{u'http://www.w3.org/1999/xhtml': ['head', 'body']}                    
      

xhtml_as_list

None
Value:
{u'http://www.w3.org/1999/xhtml': ['meta', 'link', 'script']}          
      

xhtml_attribute_of_element

None
Value:
{None: ['content', 'name', 'lang']}