Well...making a bit of progress. Still trying to figure out how to differentiate one maxVersion from the others though since they are all lumped under the same em:...

I did get this to change the maxVersion value though!


 Code:
$xmlfile=@ScriptDir+"\input.xml"
$outfile=@ScriptDir+"\output.xml"

$oparser=createobject("msxml2.domdocument")
$oparser.async=0
$oparser.validateOnParse=0
$oparser.resolveExternals=0
$nul = $oparser.load($xmlfile)

If @Error
   ? "Error: "+@SError
   get $
   exit 1
Endif

$oparser.setproperty("SelectionLanguage","XPath")
$oparser.setproperty("SelectionNamespaces","xmlns:nem='http://www.mozilla.org/2004/em-rdf#'")
$onodelist=$oparser.selectSingleNode("//nem:maxVersion")
$onodelist.Text="*"

$nul = $oparser.save($outfile)

$onodelist=0
$oparser=0