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

ÅжÏÊÇ·ñXMLÎĵµ

xhtmlµÄê¼»¨Ò»ÏÖ´øÀ´²»ÉÙÎÊÌ⣬ËüµÄÄ¿µÄÊÇÈÃhtml±íÏֵøüÏñxml£¬ËùÒԲŽÐxhtml¡£µ«Êdzöʦδ½ÝÉíÏÈËÀ£¬ÎÒÃÇÌÖÂÛÒ»ÏÂÈçºÎÅж¨ÎĵµÊÇXML°É¡£
Ó¡ÏóÖÐjQuery¶Ô´Ë·½·¨Öظ´ÊµÏÖÁËÐí¶à´Î£¬Ó¦¸Ã±È½ÏȨÍþ£¬Ò²ËµÃ÷ÕâÅж¨±È½ÏÄѸ㡣¿´jQuery1.42µÄʵÏÖ£º
var isXML = function(elem){
// documentElement is verified for cases where it doesn't yet exist
// (such as loading iframes in IE - #4833)
var documentElement = (elem ? elem.ownerDocument || elem : 0).documentElement;
return documentElement ? documentElement.nodeName !== "HTML" : false;
};
ºÃ£¬×öÒ»¸öʵÑ飺
window.onload = function(){
try{
var doc = document.implementation.createDocument(null, 'HTML', null);//Ö»ÏÞ±ê×¼ä¯ÀÀÆ÷£¬´´½¨Ò»¸öXMLÎĵµ
alert(doc.documentElement)
alert(isXML(doc))//Ó¦¸Ã·µ»Øtrue
}catch(e){
alert("²»Ö§³ÖcreatDocument·½·¨")
}
}


<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta content="IE=8" http-equiv="X-UA-Compatible"/>
<title>ÅжÏÊÇ·ñΪXML by ˾ͽÕýÃÀ </title>
<script type="text/javascript">
var isXML = function(elem){
var documentElement = (elem ? elem.ownerDocument || elem : 0).documentElement;
return documentElement ? documentElement.nodeName !== "HTML" : false;
};
window.onload = function(){
try{
var doc = document.implementation.createDocument(null, 'HTML', null);
alert(doc.documentElement)
alert(isXML(doc))
}catch(e){
alert("²»Ö§³ÖcreatDocument·½·¨")
}
}
</script>
</head>
<body>
</body>
</html>

ÔËÐдúÂë
ÁíÒ»¸öʵÑ飺

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<


Ïà¹ØÎĵµ£º

DataSet ¶ÁÈ¡xmlÎļþ

 DataSet ds = new DataSet();
ds.ReadXml(Server.MapPath(NetShop.Config.DbConfigs.GetSitePath + "images/flashdata/flash.config"));
DataRow[] drs = ds.Tables[0].Select("", "[SortOrder] ASC");
//·µ»ØµÄÊǸöDataRow[]£º
//DataR ......

Symbian OSϽâÎöXMLÎĵµµÄһЩ·½·¨

2009-10-27 22:44×ÊÁÏÀ´Ô´ÓÚÍøÂç,ËÄÖÖ·½Ê½,´ó¼Ò¿ÉÒÔ×Ô¼º³¢ÊÔÏÂ.
=========11111=================
tinyXML
www.grinninglizard.com/tinyxml/
=========22222================================
symbian s60 µÚÈý°æÖ®ºó£¬ÒѾ­ÌṩÁ˽âÎöxmlµÄϵͳapi,²ÉÓõÄÊÇSAX·½Ê½¡£
XML parsing in Symbian OS v9.x À´Ô´Ä¿Â¼£º
htt ......

Use the XML Parser in OS 9.x


Paul.Todd | 09 April, 2007 15:24
I have noticed a couple of people seem to be having problems with using the XML parser in Symbian and there are no examples outside of the devkit. The parser I will be talking about is the xml one, not the one SOAP engine as the SOAP one is Nokia specific.
The ke ......

XMLѧϰ±Ê¼Ç£¨¶þ£©——XMLÔªËØÓëÊôÐÔ


XML ÔªËØ
ÔªËØÃüÃû
XMLÔªËرØÐë×ñÊØÒÔϵÄÃüÃû¹æÔò£º
Ãû×Ö¿É°üº¬×Öĸ¡¢Êý×ÖÒÔ¼°ÆäËûµÄ×Ö·û
Ãû×Ö²»ÄÜÒÔÊý×Ö»òÕß±êµã·ûºÅ¿ªÊ¼
Ãû×Ö²»ÄÜÒÔ×Ö·û“xml”£¨»òÕßXML¡¢Xml£©¿ªÊ¼
Ãû×Ö²»ÄÜ°üº¬¿Õ¸ñ
µ±Äú“·¢Ã÷´´Ôì”ÔªËØÃû³Æʱ£¬ÇëÁôÒâ²¢×ñÑ­ÏÂÃæµÄ¼òµ¥µÄ¹æÔò£º
Äú¿ÉÒÔʹÓóý±£Áô×ÖÍâµÄÈκÎÃû³Æ£ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ