Ò»¸ö¸üÐÂXML DOMµÄÎÊÌâ
ÎÒÔÚ¸üÐÂXMLÎļþµÄʱºòÔõôÀÏÊÇ»ñÈ¡²»µ½ÀàËÆÓÚ <memberCard/> ÕâÑùµÄ½ÚµãÄØ£¿
È»ºóÎÒµÄÊý¾Ý¾Íû·¨¸üС£
Èç¹ûÎÒ²»ÏëÔÚXMLÎļþÖгöÏÖÕâÑùµÄ½Úµã¸ÃÔõô°ì£¿
ºÜ׿±£¬Ð»Ð»
Êý¾ÝÊdzÌÐò×Ô¶¯Ìîд½øÈ¥µÄ£¬Ôõô¿ØÖÆËüµÄ¸ñÊ½ÄØ£¿
Ïà¹ØÎÊ´ð£º
vbÖÐÔõôͨ¹ýxmlÀ´½âÎöÊý¾Ý¿âÖеÄ×Ö¶ÎÖµ¡£
û°ì·¨ÓÃXML½âÎöÊý¾Ý¿âµÄ×Ö¶ÎÖµ£¬³ý·ÇÊý¾Ý¿âÖб£´æµÄÊÇXML¸ñʽµÄ×Ö·û´®Îĵµ¡£
XMLÓÃÀ´Õ¹Ê¾²ã´ÎµÄÊý¾Ý¡£
Êý¾Ý¿âÒ»°ãÊǶþάÊý¾Ý¡£
Êý¾Ý¿âÖб£´æµÄÊÇXML×Ö·û´®¸ñʽ£ ......
ÎÒÊÇÀûÓÃaxiom¶Ôxml½øÐнâÎö£¡
µ«È´³öÏÖÏÂÃæµÄ´íÎó£¡
Exception in thread "main" org.apache.axiom.om.OMException: [com.ctc.wstx.exc.WstxLazyException] com.ctc.wstx.exc.WstxUnexpectedCharEx ......
HTML code:
<div id="tessx">
<ALEXA VER="0.9" URL="163.com/" HOME="0" AID="=">
<RLS PREFIX="http://" more="79" ......
ºÃ ÎÒÏëѧϰXMLºÃÊ飬ÇëÎÊÓÐʲôÊ飬¿ÉÒÔÉîÈëµÄѧϰÏÂµÄ Ð»Ð»
ÎÞ·Ï»°XML ̨ÍåÁ½Ö»ÀÏ»¢
XMLÈëÞµä
ÓÑÇé °ï¶¥¡£
ÎÞ·Ï»°XML ̨ÍåÁ½Ö»ÀÏ»¢ÖªÊ¶µã±È½ÏÉÙ
XML´ÓÈëÃŵ½¾«Í¨
......