Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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>
<


Ïà¹ØÎĵµ£º

ΪʲôʹÓà XML£¿


Web ʹÎÒÃÇÄܹ»ÓëÈκεط½µÄÈκÎÈËͨѶ¡£¹ã·º½ÓÊܵıê×¼£¨Õâ¶ÔÍêȫʹÓà Web µÄDZÁ¦ÊÇÖÁ¹ØÖØÒªµÄ£©ÔÊÐí Web ÔÚ¶àÖÖ½»»¥²Ù×÷µÄ¼¼Êõ²ãÉÏͨѶ¡£Ò»¸öÖØÒª²ãÊÇ¿ÉÊÓ»¯ÏÔʾºÍÓû§½çÃæ£¬ÀýÈç HTML¡¢GIF ºÍ JScript(TM) Ö®ÀàµÄÏÖÓбê×¼¡£ÕâЩ±ê×¼ÔÊÐí´´½¨Ò»´ÎÒ³Ãæ£¬²¢ÇÒÔÚ²»Í¬Ê±¼äÏòÖÚ¶à½ÓÊÕÕßÏÔʾ¡£
¾¡¹Ü¿ÉÊÓ»¯ºÍÓû§½çÃæ±ê×¼ÊÇ±Ø ......

Symbianѧϰ±Ê¼Ç(15) ½âÎöXMLÎļþ(ÉÏ)

ÊÕ²Ø
ÎÒÔøÔÚÇ°Ãæ½éÉܹýÒ»¸ö¿ÉÓÃÓÚBREW»·¾³ÏµÄXML Parser£¬½ñÌìÏë·ÖÏíµÄÊÇÈçºÎÔÚSymbianƽ̨ÉϽâÎöXMLÎļþ£¬²»ÐèÒªµÚÈý·½µÄ¶«Î÷£¬SymbianÒѾ­ÎªÎÒÃÇÌṩÁËÕâ¸öÀàCParser¡£
ÍøÉÏÒ²ÓÐÕâ·½ÃæµÄ×ÊÁÏ£¬½¨Òé²Î¿¼£º
http://wiki.forum.nokia.com/index.php/How_to_parse_XML_file_using_CParser_class
²»¹ý£¬Òª×¢ÒâµÄÊÇSymbia ......

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 Parser °²×°ÎÊÌâ1

  ¹ØÓÚ°²×°multiget³öÏÖXML::Parser perl module is required for intltool´íÎóÎÊÌâµÄ½â¾ö ÊÕ²Ø
ÔÚ°²×°Multiget£¬ÔÚconfigureµÄʱºòÌáʾXML::Parser perl module is required for intltool´íÎó¡£¾ßÌå½â¾öµÄ·½·¨ÈçÏ£º #perl -MCPAN -e shell Ö®ºó¸ú¾ÝÌáʾһ²½²½ÍùÏ£¬ÅäÖÃÍêºó»á³öÏÖÒ»¸ö >µÄÃüÁîÌáʾ >install ......

Jdom½¨Á¢XMLÎļþ


   JDOM ÊÇÒ»¸ö¿ªÔ´µÄ´¿java API,ÓÃÓÚ¿ìËÙ¿ª·¢ XML Ó¦ÓóÌÐò,JDOM½«XMLÎĵµ±íʾΪÊ÷£¬°üÀ¨ÔªËØ¡¢ÊôÐÔ¡¢ËµÃ÷¡¢´¦ÀíÖ¸Áî¡¢Îı¾½Úµã¡¢CDATA¶Î£¬µÈµÈ¡£JDOM¿ÉÒÔËæÊ±·ÃÎÊÊ÷ÖеÄÈÎÒⲿ·Ö¡£Ê÷ÖÐËùÓв»Í¬½Úµã¾ùΪ¾ßÌåµÄÀà¡£ÔÚhttp://jdom.org¿ÉÒÔÏÂÔØJDOMµÄ×îа汾(ÎÒÕâÀïÊÇ1.0)¡£ÏÂÔØºó½âѹ£¬JDOMµÄjarÎļþ¾ÍÊÇbuildÄ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ