xml½âÎöÎÊÌâ - Java / Java SE
´ó¼ÒºÃ£º
ÏÖÔÚÎÒÏë½âÎöÒ»¸öxml£¬xml¸ñʽÈç
<?xml version="1.0" encoding="UTF-8"?>
<form:Documents xmlns:form="http://www.abbyy.com/FlexiCapture/Schemas/Export/FormData.xsd" xmlns:addData="http://www.abbyy.com/FlexiCapture/Schemas/Export/AdditionalFormData.xsd">
<_¸öÏÕ:_¸öÏÕ addData:DocumentState="´øÓйæÔò´íÎó" addData:ImagePath="1601_1_1.jpg;1601_1_2.jpg;1601_1_3.jpg;1601_1_4.jpg" xmlns:_¸öÏÕ="http://www.abbyy.com/FlexiCapture/Schemas/Export/¸öÏÕ.xsd">
<_Îĵµ½Ú¶Î_1>
<_InsuredcltSex>M</_InsuredcltSex>
<_Insuredmarried>0</_Insuredmarried>
</_Îĵµ½Ú¶Î_1>
</_¸öÏÕ:_¸öÏÕ >
<form:Documents>
ÒÔÉÏÊÇxmlµÄ¸ñʽ
SAXReader reader = new SAXReader();
InputStream in = null;
in = new BufferedInputStream(new FileInputStream(file));
Document doc = reader.read(in);//¶ÁÈ¡XMLÊý¾Ý
Iterator itRoot = doc.selectNodes("/form:Documents/_¸öÏÕ:_¸öÏÕ/_Îĵµ½Ú¶Î_1").iterator();
ÏÖÔÚÎÒÓÃÉÏÃæµÄ·½Ê½½øÐнâÎö£¬µ«ÊǾÍÊÇÕÒ²»µ½ _Îĵµ½Ú¶Î_1Õâ¸ö½Úµã£¬Èç¹ûÎÒ°Ñ_¸öÏÕ:_¸öÏÕÕâ¸ö½ÚµãµÄ£ºÈ¥µô£¬¾Í¿ÉÒÔÕÒµ½
²»ÖªµÀÊÇʲôÔÒò£¬Ï£Íû´ó¼Ò¿ÉÒÔ°ïÎÒһϣ¬Ôõô²ÅÄÜÕÒµ½ÏàÓ¦µÄ½Úµã£¬Ð»Ð»
¸Ð¾õÊÇÖмäÄǸö¡¾:¡¿µ¼Öµģ¿
ÎÒÊÔÁËһϣ¬×ªÒå×Ö·ûÒ²²»Ðеİ¡£¬²»ÖªµÀÊÇʲôÔÒòÄØ
{{---
Ïà¹ØÎÊ´ð£º
µ±ÖªµÀÒ»¸öÈÕÆÚ£¬ÈçºÎ°ÑÕâ¸öÈÕÆÚËùÔÚÑ®µÄǰºóÁ½¸öÈÕÆÚÈ¡³ö
±ÈÈçÊäÈë20090905£¬¾ÍÊäÈë20090901 20090910
Êä³ö20090901 20090910
È¡µÃÌìÊýºó×÷Ò»ÏÂÅжÏÔÙ°ÑÕâ¸ö·½·¨ÓÃÏÂvoid set(int field, int value)
......
ÔÚaspÀïÔõôµ÷ÓÃjavaдµÄwebservice·½·¨£¬Óкܶ෽·¨
- <message name="RtPnrIn">
<part name="bstrPnrNO" type="s:string" />
<part name ......
JSPÒ³ÃæÖÐÓжà¸öradio°´Å¥
JSPÒ³Ãæ½«²ÎÊýPOST¸øservlet
ÒªÇóÈçÏÂ;
1.Ñ¡ÔñÒ»¸öradio£¬µ÷ÓÃservlet servletÖиù¾Ý²ÎÊýµ÷ÓÃÆäËû½Ó¿Ú£¬³ý·ÇÑ¡ÖиÃradio²¢µã»÷JSPÖеÄʵР......
ÎÒÔÚ javaºËÐļ¼ÊõÉÏ ¿´ÁËÒ»¸ö ÀûÓà Java socket emailµÄÀý×Ó ¿ÉÊÇÔõôҲ ²»³É¹¦ Ϊʲô£¿
Ô´Âë
Java code:
package cn.com.test.email;
import java.awt.GridBagLayout;
import java.awt.event.Action ......