XML Á´½ÓÎÊÌâ
ÔõÑùÔÚXMLÖÐÌí¼ÓÒ»¸öhyperLink?
¶àÊýÇé¿öÏ£¬XMLÊDz»¾ß±¸Êµ¼Ê¹¦ÄÜÒâÒåµÄ£¬Ò²¾ÍÊDz»Ö§³Ö³¬Á´½Ó¡£
µ«Äã¿ÉÒÔͨ¹ýÈçXSLTµÈÖ®ÀàµÄ¸ñʽת»»·½Ê½£¬×ª³ÉHTMLÒÔÖ§³Ö³¬Á´½Ó¡£
ÔÚÌØ¶¨µÄ»·¾³Ï£¬XMLÖ§³ÖXLINK£¬¼´¿ÉÒÔÈçÂ¥ÉϵÄÊéд¸ñʽ¡£µ«Ä¿Ç°XLINKÆÕ¼°¶È²»¸ß£¬ä¯ÀÀÆ÷·½ÃæÄ¿Ç°Éв»Ö§³Ö¡£
Ïà¹ØÎÊ´ð£º
RT
ÓÐûÓÐÔ´ÂëʵÀý£¡
лл£¡
²»ÊÇÓÐdom4jÕâÑùµÄ½âÎöxmlÎļþµÄ°üô ¸ÉÂï·ÇÒªÓÃÕýÔò£¿
Êܲ»ÁË£¡
Ã²ËÆ²»ÐаÉ
ÓУ¬ºÃ¼¸¸öÄØ£¬DOM,jdom£¬dom4j¡£¡£
¹þ¹þ£¡
ÓÉÓÚÎÒµÄxml±àÂë¸ñʽÓеãÎÊÌ⣬² ......
ÎÒÔÚʹÓÃDom¶ÁxmlÎļþʱÓöµ½Ò»¸öÎÊÌ⣬¾ÍÊǵ±123.xmlÎļþ²»´æÔÚʱ£¬load(123.xml)¾Í±¨´í£¬ÔõôÑù²ÅÄÜÅжÏÕâ¸öÎļþÊÇ·ñ´æÔÚ°¡£¬ÎÒÒªµÄÊÇ´æÔÚʱ¾Í¶ÁÈ¡£¬²»´æÔÚ¾ÍÌø¹ý£¬¼ÌÐøµÄ¶ÁÏÂÒ»¸öxml£¬Çë½Ì¸÷λ´óÏÀ£¬
$file ......
ÇóÖú¸÷λ´óϺ£¬Ñ§Éú³É¼¨µ¥XML SchemaµÄÉè¼Æ,XMLÎĵµµÄÉè¼Æ£¬°üº¬µÄÖ÷ÒªÐÅÏ¢£ºÑ§ºÅ¡¢Ñ§ÉúÐÕÃû¡¢Ïµ²¿¡¢°à¼¶¡¢¿¼ÊÔÈÕÆÚ¡¢ÈονÌʦ¡¢Ñ§·Ö¡¢Ñ§Ê±¡¢ÐÞϰÀà±ð¡¢Java³ÌÐòÉè¼Æ³É¼¨,ÍøÂç»ù´¡ÖªÊ¶³É¼¨¡¢ÍøÒ³ÖÆ×÷³É¼¨¡¢Èí¼þ¹¤³Ì³ ......
Òò¹«Ë¾ÒµÎñÐèÇó£¬Ðèͨ¹ýÍøÕ¾»ñÈ¡¿Í»§µÄһЩ×ÊÁÏÐÅÏ¢¡£Îª·½±ã¿Í»§£¬ÎÒÃÇÕâ±ßÐèÒªÉè¼ÆÒ»¸öͳһµÄ½Ó¿ÚÎĵµ£¬ÓÃÀ´ÔÚÎÒÃÇÍøÕ¾ºÍ¿Í»§ÍøÕ¾½»»»Êý¾Ý£¬³õ²½µÄÏë·¨Êǿͻ§ÍøÕ¾°´ÎÒÃÇÖ¸¶¨µÄ¸ñʽÉú³ÉXMLÎĵµ£¬È»ºóÎÒÃÇÈ¥¶ÁÈ¡¡£ÏÖÔ ......
½ñÌìÓöµ½Ò»¸öÎÊÌ⣬°ÑxmlÖеÄÖµ×°µ½.txt¸ñʽµÄÎļþÖС£
ÎÒĿǰÏëµ½Á½ÖֱȽϱ¿µÄ·½·¨£º1.¿ÉÒÔͨ¹ýxmlspy±à¼¹¤¾ßʵÏÖ
2.ͨ¹ý°Ñxmlת³ÉJavabean£¬È»ºóתµ½excelÖУ¬ÔÙ´Óб£´æÖØÃüÃûΪ. ......