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: