Location:
Search - pb8 X
Search list
Description: pb8下的操作xml文件的源码,有很好的利用价值。和大家交流一下。-pb8 operating under the xml document source, a very good value. And the exchange of this.
Platform: |
Size: 66560 |
Author: 狄贤明 |
Hits:
Description: powerbuilder的数据窗口原样转xls,pb8,pb9环境下-PowerBuilder data window as to xls, pb8, pb9 environment
Platform: |
Size: 235520 |
Author: 冬笋 |
Hits:
Description: PB操作xml
你必须安装:
微软的Internet Explorer 5.0 (及更高版本)
Microsoft XML分析器3.0 ( msxml3sp1.exe )
Sybase的PowerBuilder的8.0
安装。
1 。档案解压缩到如。 ç : \实例\ pb8 \的XML
2 。打开工作pb_xml.pbw
3 。打开窗户w_pbxml_sheet1和commandbuttons
cb_5和cb_6改变文件名变量ls_filename , ls_xslfilename ,以反映不同的目录上面使用
以下是运行时会发生什么变化的范例:
当您打开工作表, XML解析器:
XML解析器
加载文件:在这里,您可以只加载一个XML文件,并看到它解析在TreeView 。
pb_list_style :档案emplyees.xml将解析和转化利用pb_list_style.xsl ,由此产生的HTML中显示规则
pb_cat_style :档案emplyees.xml将解析和转化利用pb_catalog_style.xsl ,由此产生的HTML中显示规则
浏览器
打开HTML .. :在这里,您可以加载一个HTML文件,并看到它显示在Web浏览器控件。
雇员示例
巴顿:这是怎么回事
另存为XML .. :在这里,您可以保存emplyoyee数据仓库作为一个XML文件-o run the example:
You need to have installed:
Microsoft Internet Explorer 5.0 (and later)
Microsoft XML Parser 3.0 (msxml3sp1.exe)
Sybase PowerBuilder 8.0
installed.
1. Extract the files to eg. c:\examples\pb8\xml
2. Open the workspace pb_xml.pbw
3. Open the window w_pbxml_sheet1 and in the commandbuttons
cb_5 and cb_6 change the filename variables ls_filename, ls_xslfilename to reflect the different directory used above
Here is what happens when running the sample:
When you open the sheet, XML Parser:
XML Parser
Button: What s happening
Load File: Here you can just load a XML file and see it parsed in the Treeview.
pb_list_style: The file emplyees.xml will be parsed and transformed using pb_list_style.xsl , the resulting html is displayed in the mle
pb_cat_style: The file emplyees.xml will be parsed and transformed using pb_catalog_style.xsl , the resulting html is displayed in the mle
Browser
Button: What s ha
Platform: |
Size: 76800 |
Author: newease |
Hits:
Description: 用pb8编写的读写xml文件的例子,初学入门的小程序-Pb8 prepared with examples of reading and writing xml files
Platform: |
Size: 62464 |
Author: 张力 |
Hits: