R
Ragnar Heil
Hi,
I am receiving news from a press-agency in NITF-XML.
Then I want to import them into my CMS using XML&SOAP.
The import-tool runs fine if I have got an xml-document with real
German special characters, not HTML entities.
Unfortunately I receive the news with entities and get this error
(translate from German):
Parse Error in input XML file: Reference to a not definded entity
'auml'.
my code:
Set objDom = CreateObject("MSXML2.DOMDocument.3.0")
objDom.setProperty "SelectionLanguage", "XPath"
objDom.async = False objDom.setProperty "SelectionNamespaces",
"xmlns:tcmapi='http://www.tridion.com/ContentManager/5.0/TCMAPI'"
objDom.Load (strFilePath & strXmlFileName)
If Not objDom.parseError.reason = "" Then
WriteToLog "Parse Error in input XML file: " &
objDom.parseError.reason
End If
thanks for your help!
Ragnar
I am receiving news from a press-agency in NITF-XML.
Then I want to import them into my CMS using XML&SOAP.
The import-tool runs fine if I have got an xml-document with real
German special characters, not HTML entities.
Unfortunately I receive the news with entities and get this error
(translate from German):
Parse Error in input XML file: Reference to a not definded entity
'auml'.
my code:
Set objDom = CreateObject("MSXML2.DOMDocument.3.0")
objDom.setProperty "SelectionLanguage", "XPath"
objDom.async = False objDom.setProperty "SelectionNamespaces",
"xmlns:tcmapi='http://www.tridion.com/ContentManager/5.0/TCMAPI'"
objDom.Load (strFilePath & strXmlFileName)
If Not objDom.parseError.reason = "" Then
WriteToLog "Parse Error in input XML file: " &
objDom.parseError.reason
End If
thanks for your help!
Ragnar