components/policy/tools/generate_extension_admx.py
def _BeginAdmlTemplate(self):
    '''
    Writes the header of the ADML doc.

    '''
    dom_impl = minidom.getDOMImplementation('')
    self._adml_doc = dom_impl.createDocument(None, 'policyDefinitionResources',
                                             None)
    root_elem = self._adml_doc.documentElement
    self._SetAttribute(root_elem, 'revision', '1.0')
    self._SetAttribute(root_elem, 'schemaVersion', '1.0')

    self._AddElement(root_elem, 'displayName')
    self._AddElement(root_elem, 'description')
    resources_elem = self._AddElement(root_elem, 'resources')
    self._string_table_elem = self._AddElement(resources_elem, 'stringTable')
    self._presentation_table_elem = self._AddElement(resources_elem,
                                                     'presentationTable')

    Writes the header of the ADML doc.

    
Writes the header of the ADML doc.
Writes the header of the ADML doc .
def _BeginAdmlTemplate(self):
    dom_impl = minidom.getDOMImplementation('')
    self._adml_doc = dom_impl.createDocument(None, 'policyDefinitionResources',
                                             None)
    root_elem = self._adml_doc.documentElement
    self._SetAttribute(root_elem, 'revision', '1.0')
    self._SetAttribute(root_elem, 'schemaVersion', '1.0')
    self._AddElement(root_elem, 'displayName')
    self._AddElement(root_elem, 'description')
    resources_elem = self._AddElement(root_elem, 'resources')
    self._string_table_elem = self._AddElement(resources_elem, 'stringTable')
    self._presentation_table_elem = self._AddElement(resources_elem,
                                                     'presentationTable')
def _BeginAdmlTemplate ( self ) : dom_impl = minidom . getDOMImplementation ( '' ) self . _adml_doc = dom_impl . createDocument ( None , 'policyDefinitionResources' , None ) root_elem = self . _adml_doc . documentElement self . _SetAttribute ( root_elem , 'revision' , '1.0' ) self . _SetAttribute ( root_elem , 'schemaVersion' , '1.0' ) self . _AddElement ( root_elem , 'displayName' ) self . _AddElement ( root_elem , 'description' ) resources_elem = self . _AddElement ( root_elem , 'resources' ) self . _string_table_elem = self . _AddElement ( resources_elem , 'stringTable' ) self . _presentation_table_elem = self . _AddElement ( resources_elem , 'presentationTable' )
Writes the header of the ADML doc.
Writes the header of the ADML doc .
'''
    Writes the header of the ADML doc.

    '''
self