adjust to work with minidom and GenericSetup