6 个解决方案
#1
long dwcontrol.ImportFile ( XML!, filename )
dw_1.Modify("DataWindow.Export.XML.UseTemplate = 't_report'")
dw_1.Modify("DataWindow.Export.XML.MetaDataType = XMLSchema!")
dw_1.Modify("DataWindow.Export.XML.SaveMetaData = MetaDataExternal!")
dw_1.SaveAs("c:\myxml.xml", XML!, FALSE)
dw_1.Modify("DataWindow.Export.XML.UseTemplate = 't_report'")
dw_1.Modify("DataWindow.Export.XML.MetaDataType = XMLSchema!")
dw_1.Modify("DataWindow.Export.XML.SaveMetaData = MetaDataExternal!")
dw_1.SaveAs("c:\myxml.xml", XML!, FALSE)
#2
UP
#3
UP
#4
up
#5
我很想知道详细点,有哪位大哥可以帮忙啊?
#6
我找到这个,但不知道 PBDOM_Builder class怎么用?
string ls_path
string ls_err[]
boolean lb_errpars
try
PBDOM_Builder pbdombuilder_new
PBDOM_DOCUMENT pbdom_doc
pbdombuilder_new = Create PBDOM_Builder
ls_path="C:\dd.xml"
pbdom_doc = pbdombuilder_new.BuildFromFile(ls_path)
lb_errpars=pbdombuilder_new.getparseerrors( ls_err)
if lb_errpars then
messageBox("","err")
else
end if
string ls_path
string ls_err[]
boolean lb_errpars
try
PBDOM_Builder pbdombuilder_new
PBDOM_DOCUMENT pbdom_doc
pbdombuilder_new = Create PBDOM_Builder
ls_path="C:\dd.xml"
pbdom_doc = pbdombuilder_new.BuildFromFile(ls_path)
lb_errpars=pbdombuilder_new.getparseerrors( ls_err)
if lb_errpars then
messageBox("","err")
else
end if
#1
long dwcontrol.ImportFile ( XML!, filename )
dw_1.Modify("DataWindow.Export.XML.UseTemplate = 't_report'")
dw_1.Modify("DataWindow.Export.XML.MetaDataType = XMLSchema!")
dw_1.Modify("DataWindow.Export.XML.SaveMetaData = MetaDataExternal!")
dw_1.SaveAs("c:\myxml.xml", XML!, FALSE)
dw_1.Modify("DataWindow.Export.XML.UseTemplate = 't_report'")
dw_1.Modify("DataWindow.Export.XML.MetaDataType = XMLSchema!")
dw_1.Modify("DataWindow.Export.XML.SaveMetaData = MetaDataExternal!")
dw_1.SaveAs("c:\myxml.xml", XML!, FALSE)
#2
UP
#3
UP
#4
up
#5
我很想知道详细点,有哪位大哥可以帮忙啊?
#6
我找到这个,但不知道 PBDOM_Builder class怎么用?
string ls_path
string ls_err[]
boolean lb_errpars
try
PBDOM_Builder pbdombuilder_new
PBDOM_DOCUMENT pbdom_doc
pbdombuilder_new = Create PBDOM_Builder
ls_path="C:\dd.xml"
pbdom_doc = pbdombuilder_new.BuildFromFile(ls_path)
lb_errpars=pbdombuilder_new.getparseerrors( ls_err)
if lb_errpars then
messageBox("","err")
else
end if
string ls_path
string ls_err[]
boolean lb_errpars
try
PBDOM_Builder pbdombuilder_new
PBDOM_DOCUMENT pbdom_doc
pbdombuilder_new = Create PBDOM_Builder
ls_path="C:\dd.xml"
pbdom_doc = pbdombuilder_new.BuildFromFile(ls_path)
lb_errpars=pbdombuilder_new.getparseerrors( ls_err)
if lb_errpars then
messageBox("","err")
else
end if