以文本方式查看主题

-  蓝色快车PB俱乐部论坛  (http://pb.besoft.com.cnhttp://pb.besoft.com.cn/bbs/index.aspindex.asp)
--  PowerBuilder MIS编程  (http://pb.besoft.com.cnhttp://pb.besoft.com.cn/bbs/index.aspbbs.asp?boardid=1)
----  大家来讨论一下pb9的新功能吧,最好具体点,可以有文档,^_^  (http://pb.besoft.com.cnhttp://pb.besoft.com.cn/bbs/index.aspdispbbs.asp?boardid=1&rootid=771&id=771)


--  作者:kk
--  发布时间:2003/8/7 9:42:28

--  大家来讨论一下pb9的新功能吧,最好具体点,可以有文档,^_^
比如xml的支持。
PowerBuilder supports both the export and import of XML in DataStore and DataWindow objects using XML template objects. You construct XML templates for export and import graphically in the Export/Import Template view for XML. Each template you create is encapsulated in the DataWindow object. A template enables you to specify the XML logical structure of how the row data iterates inside the root element of the XML document.


?Using the SaveAs method:

ds_1.SaveAs("C:\TEMP\Temp.xml", XML!, TRUE)

?Using PowerScript dot notation or the Describe method:

ls_xmlstring = dw_1.Object.DataWindow.Data.XML

 ls_xmlstring = dw_1.Describe(DataWindow.Data.XML)


--  作者:bluesea
--  发布时间:2003/8/7 16:05:29

--  
我还没装PB9
--  作者:111
--  发布时间:2003/8/7 16:08:50

--  
up

">