Home > database >  Pb reads the XML
Pb reads the XML

Time:09-23

Long ll_ret
String ls_xmlstr, ls_err

Ls_xmlstr=ls_xmlstr + '& lt; ? The XML version="1.0" encoding="utf-8"?> '
Ls_xmlstr=ls_xmlstr + '& lt; Message> '
Ls_xmlstr=ls_xmlstr + '& lt; Status> '+' false '+' & lt;/status> '
Ls_xmlstr=ls_xmlstr + '& lt; Code> '+' 803 '+' & lt;/code> '
Ls_xmlstr=ls_xmlstr + '& lt; Detail> '+' disease directory does not exist '+' & lt;/detail> '
Ls_xmlstr=ls_xmlstr + '& lt;/message> '

Ll_ret=XMLParseString (ls_xmlstr ValAlways! , ls_err)

If ll_ret=1 then dw_1. ImportString (ls_xmlstr)

I want to convert ls_xmlstr into XML displayed on the dw_1
But ll_ret to 1, verification is not successful, solve!

CodePudding user response:

This of course is not successful, datawindow due to an XML template, in datawidow drawing board as you can see, the template can be edit Settings, your XML and template exported XML format is consistent, you can import, not just any XML can be imported,

CodePudding user response:

reference 1st floor zlf19810306 response:
this of course is not successful, datawindow due to an XML template, in datawidow drawing board as you can see, the template can be edit Settings, your XML and the exported XML format templates, you can import, not just any XML can import,


I am now
Ll_ret=XMLParseString (ls_xmlstr ValAlways! , ls_err)
Verification is not successful, is not yet to dw_1

CodePudding user response:

Looking forward to master guide
  • Related