You can convert the xml to string and then do regular expression to get the version and encoding.
<cfsavecontent variable="foo">
<?xml version="1.0" encoding="UTF-8"?>
<note>
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</note>
</cfsavecontent>
<cfset xml = XMLParse(trim(foo))>
<cfset xmlString = ToString(xml)>
<cfset Version = REMatchNoCase("version=""(.+?)""", xmlString) >
<cfset version = REMatch("(?s)"".*?""", Version[1]) >
<cfset version = replace(version[1],'"',"","all") >
<cfdump var="#version#">
<cfset encoding = REMatchNoCase("encoding=""(.+)""", xmlString) >
<cfset encoding = REMatch("(?s)"".*?""", encoding[1]) >
<cfset encoding = replace(encoding[1],'"',"","all") >
<cfdump var="#encoding#">