Hi,
I receive the following error while using this dom doc wrapper on win7x64 system whereas the same works fine on two other win7x64 systems:
COM error with DOM
err.windescription: variable must be of type 'object'
err.number is: 0
err.scriptline is: 1710
I added a msgbox as follows:
if $DOMVERSION > 4 Then $objDoc.setProperty ("ProhibitDTD",false)
$objDoc.Load ($strFile)
$objDoc.setProperty ("SelectionLanguage", "XPath")
$objDoc.setProperty ("SelectionNamespaces", $strNameSpc)
MsgBox(0,"testtttttttttttttttttttttttttt",$objDoc.parseError.reason&@LF)
if $objDoc.parseError.errorCode >0 Then consoleWrite($objDoc.parseError.reason&@LF)
and I see this error msg: XML document must have a top level element.
Could someone please help here?
thank you very much
I receive the following error while using this dom doc wrapper on win7x64 system whereas the same works fine on two other win7x64 systems:
COM error with DOM
err.windescription: variable must be of type 'object'
err.number is: 0
err.scriptline is: 1710
I added a msgbox as follows:
if $DOMVERSION > 4 Then $objDoc.setProperty ("ProhibitDTD",false)
$objDoc.Load ($strFile)
$objDoc.setProperty ("SelectionLanguage", "XPath")
$objDoc.setProperty ("SelectionNamespaces", $strNameSpc)
MsgBox(0,"testtttttttttttttttttttttttttt",$objDoc.parseError.reason&@LF)
if $objDoc.parseError.errorCode >0 Then consoleWrite($objDoc.parseError.reason&@LF)
and I see this error msg: XML document must have a top level element.
Could someone please help here?
thank you very much