Improved AbstractXMLPackageInstallationPlugin

Extracted getting the data from an element