# Class R.X.XMLMetadata:

Part of Reportek.XMLMetadata View In Hierarchy

Implements a method in the envelope that returns the envelope metadata. The metadata must include the list of files, where for each file is reported; filename, content-type, title, access permissions, and if the file is an XML file the schema identifier.

Line # | Kind | Name | Docs
--- | --- | --- | ---
62 | Method | __init__ | Undocumented
68 | Method | _get_namespaces | Undocumented
72 | Method | _xml_encode | Encode some special chars
83 | Method | _xml_datetime | date is a DateTime object. This function returns a string 'dd month_name yyyy hh:mm:ss'
88 | Method | _document_data | return the document metadata
100 | Method | _document_metadata | Undocumented
109 | Method | _document_instance | return the documents cleaned up content (only XML)
138 | Method | _envelope_metadata | returns the envelope metadata
157 | Method | envelopeMetadata | Undocumented

def __init__(self, envelope):
Undocumented
def _get_namespaces(self):
Undocumented
def _xml_encode(self, s):
Encode some special chars

def _xml_datetime(self, date):
date is a DateTime object. This function returns a string 'dd month_name yyyy hh:mm:ss'

def _document_data(self, document, inline):
return the document metadata

def _document_metadata(self, document, restricted):
Undocumented
def _document_instance(self, document, restricted):
return the documents cleaned up content (only XML)

def _envelope_metadata(self, envelope, documents):
returns the envelope metadata

def envelopeMetadata(self, inline='false'):
Undocumented