Quantcast
Channel: Baanboard.com
Viewing all articles
Browse latest Browse all 4216

Trouble while importing xml file into Baan

$
0
0
Hello there
I am trying to import an XML file into infor. The encoding being UTF-8. I am having trouble importing just this part specifically.

Code:


<Description>&lt;html&gt;
  &lt;head&gt;
   
  &lt;/head&gt;

  &lt;body bgcolor=&quot;#ffffff&quot;&gt;
    Enterprise
  &lt;/body&gt;

&lt;/html&gt;</Description>

And the code which i use is this..

Code:


        |Parse the XML file
        cmfId = xmlRead(fp, error_string)
        if not isspace(error_string) then
                message(error_string)
        endif

The Error Message is "Cannot carry out Code Conversion".

When i remove the Description part. XML is imported nicely and the tree is created.

Viewing all articles
Browse latest Browse all 4216