Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

¸ßÊÖ½ø,xmlÓÃdataset¶Á³öxml,°óÔÚgridview.

xmlÎĵµ£º

<?xml version="1.0" encoding="utf-8" ?>

<product>

  <category pid="1" title="²úƷչʾ">
    <xmlPath src="animals.xml"/>
    <image src="asset/animals/categoryImage.jpg"/>
    <description> <![CDATA[²úÆ·½éÉÜsdafafsfasdfsadfasfsfÆ·ÂÀÁº]]> </description>
  </category>

  <category pid="2" title="²úƷչʾ">
    <xmlPath src="animals.xml"/>
    <image src="asset/animals/categoryImage.jpg"/>
    <description> <![CDATA[²úÆ·½éÉÜsdafafsfasdfsadfasfsfÆ·ÂÀÁº]]> </description>
  </category>
</product>

ÒªÇóÓÃdataset¶Á³öxmlÎĵµµÄÄÚÈÝ,°ó¶¨µ½gridview,ɾ³ý¸üвÙ×÷..

pid title              xmlpath          imageUrl                          descriptin
1    ²úƷչʾ          animals.xml      asset/animals/categoryImage.jpg    ²úÆ·½éÉÜsdafafsfasdfsa¡­¡­  ÕâÖÖ¸ñʽ 


Ïà¹ØÎÊ´ð£º

ÈçºÎ½«XMLÊý¾Ý´æÈëACCESSÊý¾Ý¿â

ÇëÎʸ÷λ´óʦ£¬ÎÒÏÖÔÚÐèÒª½«XMLµÄÊý¾ÝʵʱµÄ´æÈëµ½Êý¾Ý¿âÖУ¬ÎÒÊÇÓÃasp±àµÄ³ÌÐò£¬´óÁ¿Ãǰïæ·ÖÎö һϣ¡£¡£¡
ÏÂÃæÊÇÎÒµÄXMLÎļþ´úÂë
XML code:

<?xml version="1.0" encoding="utf-8"? ......

javascript ÈçºÎÔÚ±¾µØ´´½¨¶ÁдxmlÎļþ£¿

ÐèÒª¼æÈÝie firefox safari µÈä¯ÀÀÆ÷
IE ¿ÉÒÔÓÃFSO µ«ÊÇÔÚÆäËûä¯ÀÀÆ÷²»ÄÜÓÃ
Ò»°ãµÄä¯ÀÀÆ÷´¦ÓÚ°²È«¿¼ÂǶ¼²»ÔÊÐíJavaScript¶Áд±¾µØÎļþµÄ°É

XMLÎĵµÄÚÈÝÈçÏ£¨user.xml£©£º
<?xml version="1.0&qu ......

ÈçºÎÌá½»xmlÀàÐÍÊý¾Ý - .NET¼¼Êõ / ASP.NET

Êý¾Ý¿â±íÖÐÓÐÒ»ÁУ¨TranXml£©ÀàÐÍÊÇxml£¬´æ´¢µÄÊÇÀàËÆ
<fathernode>
  <a>aaa
  </a>
  <b>bbb
  </b>
</fathernode>
µÄÐÅÏ¢£¬²¢ÇÒͨ¹ý²éѯ·½· ......

Ôõô°Ñ¿Í»§¶Ë´Ówebservice»ñµÃµÄxmlת»»³Érecordset£¿

ÈçÌâ¡£
webServiceµÄº¯ÊýÈçÏ£º
VB.NET code:

Public Function RecordSetBySql(ByVal Sql As String) As XmlDataDocument
Dim xRs As ADODB.Recordset
Dim cmd As ADODB.Command
......

¶Ôxml½øÐнâÎö±àÂëÎÊÌâ

ÎÒµÄXMLÅäÖÃÎļþÀïÃæÓÐÖÐÎÄ×Ö·û,Ò²ÓÐÀàËÆÓÚ=~@!ÕâÖÖ×Ö·û,encodeingÉèÖÃΪgb2312  ºÍ  unicode,unicode  UTF-8,½á¹û¶¼Ìáʾϵͳ´íÎó,,,Èç¹ûÉèÖÃΪgb2312µÄ»°,È¥µô=!@ÕâÖÖ×Ö·û,Ò»Çж¼Õý³£.
ÓÉÓÚÎ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ