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

ÈçºÎ±£´æÔÚxmlÎļþÉÏÊDz»»á±»Éú³É<>

                    XmlDocument XMLFile = new XmlDocument();
                    XMLFile.Load(HttpContext.Current.Server.MapPath(xml/thumbnails.xml));
                    XmlNode root= XMLFile.SelectSingleNode(Node);
                 
                    XmlNodeList xnl = XMLFile.GetElementsByTagName("thumbnails");
                   
                    if (xnl.Count != 0)
                    {
                        xnl[0].FirstChild.InnerText = "<thumbnail
filename=\"../upfile/Images/200912/20091204110027.jpg\" label=\"zcool1\" url=\"ProDetail.aspx?
Id=68&&MenuID=020103&&FirstNo=0201\">;";
                        XMLFile.Save(HttpContext.Current.Server.MapPath(Site));
                    }
<?xml version="1.0" encoding="utf-8"?>
<thumbnails>&lt;thumbnail filename="../upfile/Images/200912/20091204110027.jpg" label="zcool1"
url="ProDetail.aspx?Id=68&a


Ïà¹ØÎĵµ£º

asp¶ÁÈ¡XMLÎļþ

<%
'
Set http=Server.CreateObject("Microsoft.XMLHTTP")
http.Open "GET","http://127.0.0.1/1.xml",False
http.send
Dim xml
Set xml = Server.CreateObject("Microsoft.XMLDOM")
xml.async = False
'xml.load (Server.MapPath("1.xml"))¡¡'Èç¹û²»ÊÇÔ¶³ÌÎļþÖ±½ÓÕâÒ»²½
xml.Load(http.ResponseXML)
Dim t ......

OpenXml¿ª·¢ Ò»¸öÓ¦ÓÃXmlµÄÀý×Ó


  3private XmlDocument xmlDoc;
  4        //load xml file
  5        private void LoadXml()
  6        { ......

missing } in XML expression

±¾´ÎÓöµ½µÄÎÊÌâÊÇ£ºÔÚÉÏ´«Îļþʱ£¬·µ»ØµÄjsonÊý¾Ý±»¼ÓÉÏÁË<pre></pre>±êÇ©¡££¨ÔÚÆÕͨµÄ±íµ¥Ìá½»²¢²»»á¼ÓÉÏ<pre>±êÇ©£©
ÀûÓÃfirebug²é¿´´íÎóÐÅϢΪ£º
missing } in XML expression  (<pre>{success:true, msg:'³É¹¦'}</pre>)
¶Ô´ËÎÊÌâ½â¾öÈçÏ£º
¶Ôresponse¶ÔÏóÉèÖ÷µ»ØÀàÐÍ£ºresp.s ......

[¼¼Êõѧϰ]XML DTD ÈëÃÅ


XML DTD ÈëÃÅ(2009-12-14 09:08:49)
±êÇ©£ºÔÓ̸ 
 
 
     DTDʵ¼ÊÉÏ¿ÉÒÔ¿´×÷Ò»¸ö»ò¶à¸öXMLÎļþµÄÄ£°å£¬ÕâЩXMLÎļþÖеÄÔªËØ¡¢ÔªËصÄÊôÐÔ¡¢ÔªËصÄÅÅÁз½Ê½/˳Ðò¡¢ÔªËØÄܹ»°üº¬µÄÄÚÈݵȣ¬¶¼±ØÐë·ûºÏDTDÖеĶ¨Òå¡£XMLÎļþÖеÄÔªËØ£¬¼´ÎÒÃÇËù´´½¨µÄ±ê¼Ç£¬ÊǸù¾ÝÎÒÃÇÓ ......

¸ñʽ»¯XML£ºÊä³öÓÐËõ½øЧ¹ûµÄXML×Ö·û´®

1. Ò»°ãÇé¿öÏÂʹÓÃÒÔÏ´úÂë¼´¿É½«XML×Ö·û´®ÖØиñʽ»¯£º
        private string FormatXml(string source)
        {
            StringBuilder  ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ