ArrayList´Óxml¶ÁÈ¡Êý¾Ý
ArrayAdapter adapter =
ArrayAdapter.createfromResource(
this,
R.array.catalog,
android.R.layout.simple_list_item_1);
this.setListAdapter(adapter);
xmlÎļþ
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string-array name="catalog">
<item>ÎÄѧÊé¼®</item>
<item>ÒÕÊõÊé¼®</item>
<item>¼¼ÊõÊé¼®</item>
</string-array>
</resources>
Ïà¹ØÎĵµ£º
using System;
using System.Data;
using System.Drawing;
using System.Globalization;
using System.IO;
using System.Windows.Forms;
using Excel = Microsoft.Office.Interop.Excel;
// Ìí¼ÓÒýÓÃ -> .NET -> Microsoft.Office.Interop.Excel(2003->11.0, 2007->12.0)
namespace WinFormTable
{
& ......
Ò»£ºSpringÖеļ¸ÖÖÈÝÆ÷¶¼Ö§³ÖʹÓÃxml×°Åäbean£¬°üÀ¨£º
XmlBeanFactory £¬
ClassPathXmlApplicationContext £¬
FileSystemXmlApplicationContext £¬
XmlWebApplicationContext
¼ÓÔØÕâЩÈÝÆ÷µÄÅäÖÃÎļþµÄxmlÓÐһϼ¸ÖÖ³£¼ûµ ......
SQLServer2005·Ö½â²¢µ¼ÈëxmlÎļþ ÊÕ²Ø
²âÊÔ»·¾³SQL2005£¬windows2003
DECLARE @idoc int;
DECLARE @doc xml;
SELECT @doc=bulkcolumn from OPENROWSET(
BULK 'D: \test.xml',
SINGLE_BLOB) AS x
EXEC sp_xml_preparedocument @Idoc OUTPUT, @doc
......
µ±ÔÚPerlÖÐʹÓÃXMLʱ£¬Äã»áÓн«½üÎå°Ù¸öCPANÄ£¿é¿ÉÒÔÑ¡Ôñ£¬Ã¿Ò»¸ö¶¼Ö§³ÖÕûºÏWeb·þÎñµÄ²»Í¬·½Ãæ¡£´ËÍ⣬PerlµÄºËÐÄ¿â°üÀ¨¶à¸öÖ§³ÖXMLµÄÄ£¿é¡£ÕâÆªÎÄÕ¾͹Ø×¢ÓÚÒ»¸ö×îÔçÆÚÇÒÉæ¼°×îÆµ·±µÄºËÐÄÄ£¿é£ºXML::Parser.
XML::½âÎöÆ÷ϵÁÐ
×î³õµÄPerl½âÎöÆ÷XML::Parser::ExpatÓÉLarry WallÔÚ¼¸Äêǰ±àд²¢ÓÉClark Cooper±£³ÖÑÓÐø¡£Ä£ ......