锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲成熟丰满熟妇高潮XXXXX,亚洲日韩一区二区一无码,国产成人精品亚洲一区http://www.tkk7.com/yuanhuaming/category/2939.html鏃犺鏄壒璇勭殑錛岃禐鎵殑錛屾寚鐫鐨勯兘璇稥MAIL緇欐垜錛屼綘鐨勫緩璁皢鏄垜鍓嶈繘鐨勫姩鍔? <A href=mailto:yuanhuaming@56.com >鑱旂郴鎴?lt;/A>zh-cnThu, 08 Mar 2007 21:43:44 GMTThu, 08 Mar 2007 21:43:44 GMT60XML鍥炲繂褰曪紞瀛︿笉鍙互宸?/title><link>http://www.tkk7.com/yuanhuaming/archive/2005/08/22/10728.html</link><dc:creator>鐤祦鎴愭?/dc:creator><author>鐤祦鎴愭?/author><pubDate>Mon, 22 Aug 2005 12:33:00 GMT</pubDate><guid>http://www.tkk7.com/yuanhuaming/archive/2005/08/22/10728.html</guid><wfw:comment>http://www.tkk7.com/yuanhuaming/comments/10728.html</wfw:comment><comments>http://www.tkk7.com/yuanhuaming/archive/2005/08/22/10728.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/yuanhuaming/comments/commentRss/10728.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/yuanhuaming/services/trackbacks/10728.html</trackback:ping><description><![CDATA[         鑰冭瘯緇堜簬鑰冨ソ浜嗭紝浼戞伅浜嗕竴澶╃劧鍚庣戶緇互鍓嶆湭瀹屾垚鐨剆truts妗嗘灦瀛︿範銆傚叾瀹炴垜鐭ラ亾鎬庝箞鐢╟onfig.xml銆傚氨鏄病鎼炴噦涓轟粈涔坈onfig.xml鑳藉鎶奙VC緇欒仈緋昏搗鏉ワ紝浜庢槸鍐沖畾澶嶄範涓涓媂ML銆?BR>         XML 鍙敤浜庡悇縐嶄笉鍚岀殑搴旂敤紼嬪簭錛屼絾鍏跺疄璐ㄦ槸錛歑ML 鏄竴縐嶈〃紺烘暟鎹殑鏂瑰紡銆? <HR> <BR>         1銆傛枃妗e畾涔夌被鍨嬪拰鍛藉悕絀洪棿<BR>1.1   XML鐨勫己澶т箣澶勫湪浜庡畠鍙互鑷繁瀹氫箟鏍囪錛屼絾鏄渶瑕佷竴涓枃妗f潵瀹氫箟鏍囪鐨勫惈涔夛紝榪欐牱瑙f瀽鍣ㄦ墠鑳芥牳鏌ユ暟鎹槸鍚︽紜傝繖涓枃妗e畾涔夌被鍨嬭鎴愪負錛圖ocument Type Definition錛塂TD.<BR>姣旀柟璇翠竴涓猉ML鏂囦歡<BR><peson name="john" sex="male"/><BR>閲屾湁涓猻ex灞炴э紝閭fу埆鐨勮瘽闄や簡鐢峰氨鏄コ浜嗭紝瑙f瀽鍣ㄦ湰鏉ユ槸涓嶇煡閬搒ex鏄у埆鐨勬剰鎬濓紝閭e睘鎬у兼庝箞濉兘涓嶄細閿欑殑銆傚鏋滄兂璁╄В鏋愬櫒鐭ラ亾sex鍊煎彧鑳芥槸鐢鋒垨濂籌紝閭e氨瑕佸畾涔塂TD<BR><!DOCTYPE 鏍瑰厓绱?[<BR>         <!ELEMENT peson EMPTY><BR>         <!ATTLIST peson<BR>            name CDDATA #REQUIRED<BR>            sex (MALE | FEMALE) #REQUIRED   <BR>         ><BR>]><BR>   鎴戝叾瀹炲茍涓嶅枩嬈TD錛孌TD鍜孹ML鎬庝箞鐪嬮兘寰堜笉鑸掓湇銆?BR><BR>1.2   鍛藉悕絀洪棿   涓昏鐩殑鏄負浜嗛伩鍏嶏紙鍏冪礌鍚嶇浉鍚岋紝鍐呭涓嶅悓錛夈備笉榪囧墠闈㈢炕闃匢BM璧勬枡搴撶殑鏃跺欎竴綃囨枃绔犻噷鍐欏懡鍚嶇┖闂村彲鑳借琚玏3C鍙栨秷鎺変簡銆?BR> <HR>     <BR>            2銆傜敤CSS鍜孹SL鏄劇ずXML鏂囨。<BR> 2.1      鐢變簬XML涓昏鏄敤鏉ユ弿榪版暟鎹殑錛屾墍浠ュ湪鏄劇ず鏁版嵁鏂歸潰娌℃湁HTML閭d箞鐩存帴錛屾兂瑕佽揪鍒癏TML閭f牱鐨勬晥鏋滐紝灝遍渶瑕丆SS鍜孹SL鏍峰紡琛ㄣ?BR>鍐?涓緥瀛愪竴鐪嬪氨鏄庣櫧浜?<BR> <DIV style="BORDER-RIGHT: windowtext 0.5pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 0.5pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: #e6e6e6; PADDING-BOTTOM: 4px; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: windowtext 0.5pt solid"> <DIV><SPAN style="COLOR: #0000ff"><?</SPAN><SPAN style="COLOR: #ff00ff">xml version="1.0" encoding="UTF-8"</SPAN><SPAN style="COLOR: #0000ff">?></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008000"><!--</SPAN><SPAN style="COLOR: #008000">寮曠敤涓涓閮–SS鏍峰紡琛?/SPAN><SPAN style="COLOR: #008000">--></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #0000ff"><?</SPAN><SPAN style="COLOR: #ff00ff">xml:stylesheet  type="text/css" href="test.css"</SPAN><SPAN style="COLOR: #0000ff">?></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008000"><!--</SPAN><SPAN style="COLOR: #008000">寮曠敤涓涓獂sl鏍峰紡琛?/SPAN><SPAN style="COLOR: #008000">--></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #0000ff"><?</SPAN><SPAN style="COLOR: #ff00ff">xml:stylesheet  type="text/xsl" href="test.xsl"</SPAN><SPAN style="COLOR: #0000ff">?></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">Resume</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">ID </SPAN><SPAN style="COLOR: #ff0000">id</SPAN><SPAN style="COLOR: #0000ff">="1"</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR> </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">Name</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000">John</SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">Name</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR> </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">Sex</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000">male</SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">Sex</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR> </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">Age</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000">22</SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">Age</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR> </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">Skill</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000">IT</SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">Skill</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR> </SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">ID</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR> </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">ID </SPAN><SPAN style="COLOR: #ff0000">id</SPAN><SPAN style="COLOR: #0000ff">="2"</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR> </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">Name</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000">Tom</SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">Name</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR> </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">Sex</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000">male</SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">Sex</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR> </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">Age</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000">25</SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">Age</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR> </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">Skill</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000">Worker</SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">Skill</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR> </SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">ID</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">Resume</SPAN><SPAN style="COLOR: #0000ff">></SPAN></DIV></DIV><BR> <DIV style="BORDER-RIGHT: windowtext 0.5pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 0.5pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: #e6e6e6; PADDING-BOTTOM: 4px; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: windowtext 0.5pt solid"> <DIV><SPAN style="COLOR: #800000"><!--test.css--><BR>Resume</SPAN><SPAN style="COLOR: #000000">{</SPAN><SPAN style="COLOR: #ff0000">display</SPAN><SPAN style="COLOR: #000000">:</SPAN><SPAN style="COLOR: #0000ff"> block</SPAN><SPAN style="COLOR: #000000">;</SPAN><SPAN style="COLOR: #000000">}</SPAN><SPAN style="COLOR: #800000"><BR>id</SPAN><SPAN style="COLOR: #000000">{</SPAN><SPAN style="COLOR: #ff0000">display</SPAN><SPAN style="COLOR: #000000">:</SPAN><SPAN style="COLOR: #0000ff"> block</SPAN><SPAN style="COLOR: #000000">;</SPAN><SPAN style="COLOR: #000000">}</SPAN><SPAN style="COLOR: #800000"><BR>Name</SPAN><SPAN style="COLOR: #000000">{</SPAN><SPAN style="COLOR: #ff0000">display</SPAN><SPAN style="COLOR: #000000">:</SPAN><SPAN style="COLOR: #0000ff"> block</SPAN><SPAN style="COLOR: #000000">;</SPAN><SPAN style="COLOR: #ff0000"> font-size</SPAN><SPAN style="COLOR: #000000">:</SPAN><SPAN style="COLOR: #0000ff">120%</SPAN><SPAN style="COLOR: #000000">;</SPAN><SPAN style="COLOR: #000000">}</SPAN><SPAN style="COLOR: #800000"><BR>Sex</SPAN><SPAN style="COLOR: #000000">{</SPAN><SPAN style="COLOR: #ff0000">display</SPAN><SPAN style="COLOR: #000000">:</SPAN><SPAN style="COLOR: #0000ff">red</SPAN><SPAN style="COLOR: #000000">;</SPAN><SPAN style="COLOR: #ff0000"> text-indent</SPAN><SPAN style="COLOR: #000000">:</SPAN><SPAN style="COLOR: #0000ff">2em</SPAN><SPAN style="COLOR: #000000">}</SPAN><SPAN style="COLOR: #800000"><BR>Skill</SPAN><SPAN style="COLOR: #000000">{</SPAN><SPAN style="COLOR: #ff0000"> display</SPAN><SPAN style="COLOR: #000000">:</SPAN><SPAN style="COLOR: #0000ff">red</SPAN><SPAN style="COLOR: #000000">;</SPAN><SPAN style="COLOR: #ff0000"> text-indent</SPAN><SPAN style="COLOR: #000000">:</SPAN><SPAN style="COLOR: #0000ff">2em</SPAN><SPAN style="COLOR: #000000">}</SPAN><SPAN style="COLOR: #800000"><BR>Age</SPAN><SPAN style="COLOR: #000000">{</SPAN><SPAN style="COLOR: #ff0000"> display</SPAN><SPAN style="COLOR: #000000">:</SPAN><SPAN style="COLOR: #0000ff">red</SPAN><SPAN style="COLOR: #000000">;</SPAN><SPAN style="COLOR: #ff0000"> text-indent</SPAN><SPAN style="COLOR: #000000">:</SPAN><SPAN style="COLOR: #0000ff">2em</SPAN><SPAN style="COLOR: #000000">}</SPAN><SPAN style="COLOR: #800000"><BR></SPAN></DIV></DIV> <DIV style="BORDER-RIGHT: windowtext 0.5pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 0.5pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: #e6e6e6; PADDING-BOTTOM: 4px; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: windowtext 0.5pt solid"> <DIV><SPAN style="COLOR: #0000ff"><?</SPAN><SPAN style="COLOR: #ff00ff">xml version="1.0" encoding="UTF-8"</SPAN><SPAN style="COLOR: #0000ff">?></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">xsl:stylesheet </SPAN><SPAN style="COLOR: #ff0000">version</SPAN><SPAN style="COLOR: #0000ff">="1.0"</SPAN><SPAN style="COLOR: #ff0000"> xmlns:xsl</SPAN><SPAN style="COLOR: #0000ff">="http://www.w3.org/1999/XSL/Transform"</SPAN><SPAN style="COLOR: #ff0000"> xmlns:fo</SPAN><SPAN style="COLOR: #0000ff">="http://www.w3.org/1999/XSL/Format"</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR>    </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">xsl:template </SPAN><SPAN style="COLOR: #ff0000">match</SPAN><SPAN style="COLOR: #0000ff">="Resume"</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR>    </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">html</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR>        </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">head</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR>            </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">title</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000">綆鍘?/SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">title</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR>        </SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">head</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR>        </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">body</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR>            </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">xsl:for-each </SPAN><SPAN style="COLOR: #ff0000">select</SPAN><SPAN style="COLOR: #0000ff">="ID"</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR>            </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">font </SPAN><SPAN style="COLOR: #ff0000">color</SPAN><SPAN style="COLOR: #0000ff">="red"</SPAN><SPAN style="COLOR: #0000ff">><</SPAN><SPAN style="COLOR: #800000">xsl:value-of </SPAN><SPAN style="COLOR: #ff0000">select</SPAN><SPAN style="COLOR: #0000ff">="Name"</SPAN><SPAN style="COLOR: #0000ff">/></</SPAN><SPAN style="COLOR: #800000">font</SPAN><SPAN style="COLOR: #0000ff">><</SPAN><SPAN style="COLOR: #800000">br</SPAN><SPAN style="COLOR: #0000ff">></</SPAN><SPAN style="COLOR: #800000">br</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000">                <BR>            </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">xsl:value-of </SPAN><SPAN style="COLOR: #ff0000">select</SPAN><SPAN style="COLOR: #0000ff">="Sex"</SPAN><SPAN style="COLOR: #0000ff">/><</SPAN><SPAN style="COLOR: #800000">br</SPAN><SPAN style="COLOR: #0000ff">></</SPAN><SPAN style="COLOR: #800000">br</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000">                <BR>            </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">xsl:value-of </SPAN><SPAN style="COLOR: #ff0000">select</SPAN><SPAN style="COLOR: #0000ff">="Age"</SPAN><SPAN style="COLOR: #0000ff">/><</SPAN><SPAN style="COLOR: #800000">br</SPAN><SPAN style="COLOR: #0000ff">></</SPAN><SPAN style="COLOR: #800000">br</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000">                <BR>            </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">xsl:value-of </SPAN><SPAN style="COLOR: #ff0000">select</SPAN><SPAN style="COLOR: #0000ff">="Skill"</SPAN><SPAN style="COLOR: #0000ff">/><</SPAN><SPAN style="COLOR: #800000">br</SPAN><SPAN style="COLOR: #0000ff">></</SPAN><SPAN style="COLOR: #800000">br</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000">        <BR>            </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">p</SPAN><SPAN style="COLOR: #0000ff">></</SPAN><SPAN style="COLOR: #800000">p</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR>            </SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">xsl:for-each</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR>        </SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">body</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR>    </SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">html</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR>    </SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">xsl:template</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">xsl:stylesheet</SPAN><SPAN style="COLOR: #0000ff">></SPAN></DIV></DIV> <P>XSL璇硶榪樻槸姣旇緝綆鍗曠殑錛屽彲浠ヨ涓鐪嬪氨鏄庣櫧銆備袱鑰呮瘮杈冧竴涓嬶紝榪樻槸XSL鐩磋錛岀伒媧諱竴鐐癸紝涓嶈繃榪樻槸涓嶆柟渚匡紝榪欎篃鏄負浠涔圚TML榪樺姝ら紟鐩涚殑鍘熷洜銆?BR>2.2   綆鍗曚粙緇嶄笅XSL鐨勮娉?BR> 2.21     XSL涓渶閲嶈鐨勬蹇靛氨鏄ā鏉匡紝瀹冩槸鐢變竴涓竴涓ā鏉跨粍鎴愩?BR>//瀹氫箟妯℃澘<BR> <xsl:template match="/"><BR>....<BR> <xsl:apply-templates select="Resume" />//璋冪敤璇ユā鏉?鏈夌偣璞¤皟鐢ㄦ柟娉曪紙錛夛紱<BR>.....<BR> </xsl:template><BR>//錛堟柟娉曞畾涔夛級<BR> <xsl:template match="Resume"><BR>......<BR> </xsl:template><BR><BR> 2.22   鍒ゆ柇璇硶<BR>   寰幆璇彞<BR><xsl:for-each select="鍏冪礌鍚嶇О"></xsl:for-each><BR>   鏉′歡璇彞<BR><xsl:if test=""></xsl:if><BR><BR><BR></P> <HR> <P></P>  <P>             3銆傛枃妗e璞℃ā鍨婦OM鍜孲AX</P> <P>3.1  DOM鎶婃枃妗d綔涓轟竴涓璞★紝閫氳繃緙栫▼鐨勬柟寮忔潵鏌ヨ鎴栨敼鍙樻枃妗c?BR>DOM鏄疿ML鍦ㄥ唴瀛樹腑鐨勬爲鐘剁粨鏋勶紝褰揦ML鏂囦歡琚澆浜鴻В鏋愬櫒涓В鏋愬悗錛屽湪鍐呭瓨涓氨寤虹珛浜嗕竴棰楃浉搴旂殑鏍戙?BR>3.2   浠涔堟槸XML瑙f瀽鍣紵<BR>      瑙f瀽灝辨槸璇誨彇鏂囨。騫跺皢鏂囨。鍒嗚В涓鴻兘澶熻繘琛屽垎鏋愮殑鍏冪礌鐨勮繃紼嬨俋ML瑙f瀽鍣ㄦ槸WEB搴旂敤紼嬪簭鏈鍩烘湰鍕捐返鍧椼傚畠鏄湁2涓熀鏈珹PI緇勬垚錛欴OM 鍜孲AX銆?BR>3.3   DOM鐨勪紭鐐瑰湪浜庡彲浠ヨ繘琛岄殢鏈洪噸澶嶈闂紱緙虹偣灝辨槸鐢變簬DOM鏄皢XML鏂囨。鍏ㄩ儴杞藉叆鍐呭瓨涓紝鎵浠ュ鍐呭瓨娑堣楀緢澶э紝涓嶉傚悎姣旇緝澶х殑XML鏂囨。銆?BR>      <BR>3.4   SAX鏄彲鎵╁睍鏍囪璇█鐨勭畝鍗曞簲鐢ㄧ▼搴忕紪紼嬫帴鍙c傜敱浜嶴AX瑙f瀽鏃朵笉鍒涘緩鏄劇ず鏁版嵁緇撴瀯錛屽洜姝ゅ畠姣擠OM鐨勬晥鐜囨洿濂姐?BR>涓嶈繃瀹冪殑緙虹偣灝辨槸鍙兘璇誨彧鍓嶈繘銆?BR>   DOM鍜孲AX鐨勪緥瀛愪互鍚庝細娣誨姞榪涙潵錛屾墍浠ヨ繖閲屽氨涓嶅啓浜嗐?/P> <P>灝嗘墍瀛﹀埌鐨勭煡閬撶敤涓寮犺〃鑱旂郴璧鋒潵錛屾儏鐪嬶細<BR><IMG src="http://photo.blogchina.com/data1/2005-8-24/001/134/277/98037/98037.jpg"><BR>瀛︿範絎旇鍙槸綆鍗曞湴鍙欒堪浜嗕笅XML鍩烘湰鍐呭鏈夊摢浜涙妧鏈紝鑷充簬鎯蟲洿娣卞埢鐨勭悊瑙ML銆傛棤瀹冿紝澶氬姩鎵嬨?/P><img src ="http://www.tkk7.com/yuanhuaming/aggbug/10728.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/yuanhuaming/" target="_blank">鐤祦鎴愭?/a> 2005-08-22 20:33 <a href="http://www.tkk7.com/yuanhuaming/archive/2005/08/22/10728.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>XML鍦↗AVA涓殑搴旂敤瀛︿範絎旇錛嶏紞錛岲OM綃?/title><link>http://www.tkk7.com/yuanhuaming/archive/2005/08/19/10540.html</link><dc:creator>鐤祦鎴愭?/dc:creator><author>鐤祦鎴愭?/author><pubDate>Fri, 19 Aug 2005 09:15:00 GMT</pubDate><guid>http://www.tkk7.com/yuanhuaming/archive/2005/08/19/10540.html</guid><wfw:comment>http://www.tkk7.com/yuanhuaming/comments/10540.html</wfw:comment><comments>http://www.tkk7.com/yuanhuaming/archive/2005/08/19/10540.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/yuanhuaming/comments/commentRss/10540.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/yuanhuaming/services/trackbacks/10540.html</trackback:ping><description><![CDATA[<P>鍩烘湰姒傚康錛?BR>1銆傝В鏋愶細灝辨槸璇誨彇鏂囨。騫跺皢鏂囨。鍒嗚В涓鴻兘澶熻繘琛屽垎鏋愮殑鍏冪礌鐨勮繃紼嬨俋ML瑙f瀽鍣ㄦ槸WEB搴旂敤紼嬪簭鏈鍩烘湰鍕捐返鍧椼?BR>2銆侱OM琛ㄧず鏂囨。瀵硅薄妯″瀷銆傚畠瀹氫箟浜嗕竴緇凧AVA鎺ュ彛錛岀敤浜庡垱寤猴紝璁塊棶鍜屾搷浣淴ML鏂囨。鐨勫唴閮ㄧ粨鏋勩?BR>3銆侱OM鐨勭己鐐瑰氨鏄敱浜庢暣涓枃妗e繀欏誨湪鍐呭瓨涓В鏋愬拰瀛樺偍錛屾墍浠ュ浜庡ぇ鏂囨。鍒欎細閫犳垚鍐呭瓨绱у紶銆?BR>4銆傚湪DOM涓紝鏂囨。琚〃紺轟負鏍戙傚畠鐨勮妭鐐瑰氨鏄疿ML鏂囨。涓殑鍏冪礌鎴栧唴瀹廣?/P> <P>-------------------------------------------------------example--------------------------------------------------------</P> <P>鏈緥鏄皢XML鏂囨。鎻掑叆鏁版嵁搴撶殑紼嬪簭</P> <DIV style="BORDER-RIGHT: windowtext 0.5pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 0.5pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: #e6e6e6; PADDING-BOTTOM: 4px; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: windowtext 0.5pt solid"> <DIV><IMG id=Codehighlighter1_0_451_Open_Image onclick="this.style.display='none'; Codehighlighter1_0_451_Open_Text.style.display='none'; Codehighlighter1_0_451_Closed_Image.style.display='inline'; Codehighlighter1_0_451_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_0_451_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_0_451_Closed_Text.style.display='none'; Codehighlighter1_0_451_Open_Image.style.display='inline'; Codehighlighter1_0_451_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align=top><SPAN id=Codehighlighter1_0_451_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">/**/</SPAN><SPAN id=Codehighlighter1_0_451_Open_Text><SPAN style="COLOR: #008000">/*</SPAN><SPAN style="COLOR: #008000">*<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top> *Moives.xml;<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top> *---------------------------------------<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top> *<?xml version ="1.0"?><BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top> <movies><BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>  <movie><BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>   <name>銆妔orry,i love you銆?lt;/name><BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>    <producter>KBS</producter><BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>   <actor>鏋楃鏅?lt;/actor><BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>  </movie><BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top> </movies><BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top> *-----------------------------------------<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top> *<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top> *mysql.sql<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top> *-----------------------------------------<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top> *create table movies<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top> *錛坣ame varchar(),<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top> *producter varchar(),<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top> *actor varchar()<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top> *);<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top> *-----------------------------------------<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align=top> </SPAN><SPAN style="COLOR: #008000">*/</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align=top><BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align=top><BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align=top>import javax.xml.parsers.</SPAN><SPAN style="COLOR: #000000">*</SPAN><SPAN style="COLOR: #000000">;<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align=top>import org.w3c.dom.</SPAN><SPAN style="COLOR: #000000">*</SPAN><SPAN style="COLOR: #000000">;<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align=top>import java.sql.</SPAN><SPAN style="COLOR: #000000">*</SPAN><SPAN style="COLOR: #000000">;<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align=top>import java.io.</SPAN><SPAN style="COLOR: #000000">*</SPAN><SPAN style="COLOR: #000000">;<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align=top><BR><IMG id=Codehighlighter1_560_2075_Open_Image onclick="this.style.display='none'; Codehighlighter1_560_2075_Open_Text.style.display='none'; Codehighlighter1_560_2075_Closed_Image.style.display='inline'; Codehighlighter1_560_2075_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_560_2075_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_560_2075_Closed_Text.style.display='none'; Codehighlighter1_560_2075_Open_Image.style.display='inline'; Codehighlighter1_560_2075_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">public</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">class</SPAN><SPAN style="COLOR: #000000"> test</SPAN><SPAN id=Codehighlighter1_560_2075_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.tkk7.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_560_2075_Open_Text><SPAN style="COLOR: #000000">{ <BR><IMG id=Codehighlighter1_602_2073_Open_Image onclick="this.style.display='none'; Codehighlighter1_602_2073_Open_Text.style.display='none'; Codehighlighter1_602_2073_Closed_Image.style.display='inline'; Codehighlighter1_602_2073_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_602_2073_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_602_2073_Closed_Text.style.display='none'; Codehighlighter1_602_2073_Open_Image.style.display='inline'; Codehighlighter1_602_2073_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align=top> </SPAN><SPAN style="COLOR: #0000ff">public</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">static</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">void</SPAN><SPAN style="COLOR: #000000"> main(String[] args)</SPAN><SPAN id=Codehighlighter1_602_2073_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.tkk7.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_602_2073_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>  String name</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #0000ff">null</SPAN><SPAN style="COLOR: #000000">;<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>  String producter</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #0000ff">null</SPAN><SPAN style="COLOR: #000000">;<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>  String actor</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #0000ff">null</SPAN><SPAN style="COLOR: #000000">;<BR><IMG id=Codehighlighter1_675_2014_Open_Image onclick="this.style.display='none'; Codehighlighter1_675_2014_Open_Text.style.display='none'; Codehighlighter1_675_2014_Closed_Image.style.display='inline'; Codehighlighter1_675_2014_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_675_2014_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_675_2014_Closed_Text.style.display='none'; Codehighlighter1_675_2014_Open_Image.style.display='inline'; Codehighlighter1_675_2014_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align=top>  </SPAN><SPAN style="COLOR: #0000ff">try</SPAN><SPAN id=Codehighlighter1_675_2014_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.tkk7.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_675_2014_Open_Text><SPAN style="COLOR: #000000">{   <BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>   File f</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000"> File(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">c:/Movies.xml</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">);<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>                                                </SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">瀹氫箟浜嗗伐鍘侫PI錛屽厑璁稿簲鐢ㄧ▼搴忚幏寰楃敓鎴怐OM瀵硅薄鏍戠殑瑙f瀽鍣?/SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top></SPAN><SPAN style="COLOR: #000000">   DocumentBuilderFactory dbf</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">DocumentBuilderFactory.newInstance();<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>   DocumentBuilder db</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">dbf.newDocumentBuilder();<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>   Document d</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">db.parse(f);<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>   NodeList list</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">d.getElementsByTagName(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">movie</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">);</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">鍖歸厤鍏冪礌movie</SPAN><SPAN style="COLOR: #008000"><BR><IMG id=Codehighlighter1_1039_1339_Open_Image onclick="this.style.display='none'; Codehighlighter1_1039_1339_Open_Text.style.display='none'; Codehighlighter1_1039_1339_Closed_Image.style.display='inline'; Codehighlighter1_1039_1339_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_1039_1339_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_1039_1339_Closed_Text.style.display='none'; Codehighlighter1_1039_1339_Open_Image.style.display='inline'; Codehighlighter1_1039_1339_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align=top></SPAN><SPAN style="COLOR: #000000">   </SPAN><SPAN style="COLOR: #0000ff">for</SPAN><SPAN style="COLOR: #000000">(</SPAN><SPAN style="COLOR: #0000ff">int</SPAN><SPAN style="COLOR: #000000"> i</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">0</SPAN><SPAN style="COLOR: #000000">;i</SPAN><SPAN style="COLOR: #000000"><</SPAN><SPAN style="COLOR: #000000">list.getLength();i</SPAN><SPAN style="COLOR: #000000">++</SPAN><SPAN style="COLOR: #000000">)</SPAN><SPAN id=Codehighlighter1_1039_1339_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.tkk7.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_1039_1339_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>    Element n</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">(Element)list.item(i);<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>    name</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">n.getElementsByTagName(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">name</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">).item(</SPAN><SPAN style="COLOR: #000000">0</SPAN><SPAN style="COLOR: #000000">).getFirstChild().getNodeValue();<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>    producter</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">n.getElementsByTagName(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">producter</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">).item(</SPAN><SPAN style="COLOR: #000000">0</SPAN><SPAN style="COLOR: #000000">).getFirstChild().getNodeValue();<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>    actor</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">n.getElementsByTagName(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">actor</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">).item(</SPAN><SPAN style="COLOR: #000000">0</SPAN><SPAN style="COLOR: #000000">).getFirstChild().getNodeValue(); <BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>    <BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>   }</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>   String sql1</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">insert into movies values('</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #000000">+</SPAN><SPAN style="COLOR: #000000"> name </SPAN><SPAN style="COLOR: #000000">+</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">','</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #000000">+</SPAN><SPAN style="COLOR: #000000"> producter </SPAN><SPAN style="COLOR: #000000">+</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">','</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #000000">+</SPAN><SPAN style="COLOR: #000000"> actor </SPAN><SPAN style="COLOR: #000000">+</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">')</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">;<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>   String sql2</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">select *from movies</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">;<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>   Class.forName(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">com.mysql.jdbc.Driver</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">);</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">娉ㄥ唽椹卞姩紼嬪簭</SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top></SPAN><SPAN style="COLOR: #000000">   <BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>   String url </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">jdbc:mysql://localhost:3306/test</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">;  <BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>   Connection con</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">DriverManager.getConnection(url,</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">root</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">,</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">hotman</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">);</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">榪炴帴Mysql</SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top></SPAN><SPAN style="COLOR: #000000">   System.</SPAN><SPAN style="COLOR: #0000ff">out</SPAN><SPAN style="COLOR: #000000">.println (</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">success!!</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">);<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>   Statement st</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">con.createStatement();<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>   st.executeUpdate(sql1);</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">鏇存柊璁板綍<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>   </SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">鏌ヨ璁板綍</SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top></SPAN><SPAN style="COLOR: #000000">   ResultSet rs</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">st.executeQuery(sql2);<BR><IMG id=Codehighlighter1_1838_1994_Open_Image onclick="this.style.display='none'; Codehighlighter1_1838_1994_Open_Text.style.display='none'; Codehighlighter1_1838_1994_Closed_Image.style.display='inline'; Codehighlighter1_1838_1994_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_1838_1994_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_1838_1994_Closed_Text.style.display='none'; Codehighlighter1_1838_1994_Open_Image.style.display='inline'; Codehighlighter1_1838_1994_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align=top>   </SPAN><SPAN style="COLOR: #0000ff">while</SPAN><SPAN style="COLOR: #000000">(rs.next())</SPAN><SPAN id=Codehighlighter1_1838_1994_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.tkk7.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_1838_1994_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>    System.</SPAN><SPAN style="COLOR: #0000ff">out</SPAN><SPAN style="COLOR: #000000">.println (rs.getString(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">name</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">)); <BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>    System.</SPAN><SPAN style="COLOR: #0000ff">out</SPAN><SPAN style="COLOR: #000000">.println (rs.getString(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">producter</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">)) ;<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>    System.</SPAN><SPAN style="COLOR: #0000ff">out</SPAN><SPAN style="COLOR: #000000">.println (rs.getString(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">actor</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">));  <BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>   }</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>   con.close();<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>  }</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG id=Codehighlighter1_2036_2067_Open_Image onclick="this.style.display='none'; Codehighlighter1_2036_2067_Open_Text.style.display='none'; Codehighlighter1_2036_2067_Closed_Image.style.display='inline'; Codehighlighter1_2036_2067_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_2036_2067_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_2036_2067_Closed_Text.style.display='none'; Codehighlighter1_2036_2067_Open_Image.style.display='inline'; Codehighlighter1_2036_2067_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align=top>  </SPAN><SPAN style="COLOR: #0000ff">catch</SPAN><SPAN style="COLOR: #000000">(Exception e)</SPAN><SPAN id=Codehighlighter1_2036_2067_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.tkk7.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_2036_2067_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>   System.</SPAN><SPAN style="COLOR: #0000ff">out</SPAN><SPAN style="COLOR: #000000">.println (e);<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>  }</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>  <BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top> }</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>}</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align=top><BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align=top></SPAN></DIV></DIV> <P> </P> <P> </P><img src ="http://www.tkk7.com/yuanhuaming/aggbug/10540.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/yuanhuaming/" target="_blank">鐤祦鎴愭?/a> 2005-08-19 17:15 <a href="http://www.tkk7.com/yuanhuaming/archive/2005/08/19/10540.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p> <a href="http://www.tkk7.com/" title="亚洲av成人片在线观看">亚洲av成人片在线观看</a> <div class="friend-links"> </div> </div> </footer> 主站蜘蛛池模板: <a href="http://930mk.com" target="_blank">亚洲人成人77777在线播放</a>| <a href="http://dyj696.com" target="_blank">亚洲美女自拍视频</a>| <a href="http://zdmaid.com" target="_blank">男女啪啪免费体验区</a>| <a href="http://miyatb.com" target="_blank">国产精品va无码免费麻豆</a>| <a href="http://cnlawedu.com" target="_blank">亚洲av第一网站久章草</a>| <a href="http://714747.com" target="_blank">日韩一区二区三区免费体验</a>| <a href="http://www97544.com" target="_blank">亚洲午夜一区二区三区</a>| <a href="http://juytv.com" target="_blank">国产精品久久久久久久久久免费</a>| <a href="http://ti166.com" target="_blank">亚洲人成7777影视在线观看</a>| <a href="http://0149545.com" target="_blank">国产h视频在线观看免费</a>| <a href="http://38miao.com" target="_blank">亚洲乱码一二三四区乱码</a>| <a href="http://chandou8.com" target="_blank">青青草免费在线视频</a>| <a href="http://gdbobo.com" target="_blank">亚洲欧美第一成人网站7777</a>| <a href="http://ocn888.com" target="_blank">国产美女做a免费视频软件</a>| <a href="http://cqyouyongpx.com" target="_blank">无码亚洲成a人在线观看</a>| <a href="http://wuaiav.com" target="_blank">亚洲男人在线无码视频</a>| <a href="http://shbailongma.com" target="_blank">免费看一区二区三区四区</a>| <a href="http://shaolingtongluo.com" target="_blank">亚洲av无码一区二区三区乱子伦</a>| <a href="http://taoh2510.com" target="_blank">十八禁无码免费网站</a>| <a href="http://dunyny.com" target="_blank">亚洲国产情侣一区二区三区</a>| <a href="http://www759696b.com" target="_blank">成人午夜大片免费7777</a>| <a href="http://715686.com" target="_blank">免费无遮挡无码视频在线观看</a>| <a href="http://dwj28.com" target="_blank">yy6080久久亚洲精品</a>| <a href="http://011107.com" target="_blank">a级毛片免费播放</a>| <a href="http://bjmyhfc.com" target="_blank">亚洲欧洲日产国码www</a>| <a href="http://bbby6.com" target="_blank">免费被黄网站在观看</a>| <a href="http://05942688.com" target="_blank">一区二区免费电影</a>| <a href="http://ystchem.com" target="_blank">亚洲三级电影网站</a>| <a href="http://445645.com" target="_blank">日韩一区二区在线免费观看</a>| <a href="http://dazhe777.com" target="_blank">中文字幕乱码系列免费</a>| <a href="http://zxbj0471.com" target="_blank">亚洲乱码在线播放</a>| <a href="http://www50884.com" target="_blank">亚洲精品一级无码中文字幕</a>| <a href="http://www12kvkv.com" target="_blank">国产精品免费福利久久</a>| <a href="http://ahtxjk.com" target="_blank">亚洲免费福利在线视频</a>| <a href="http://avdian126.com" target="_blank">亚洲精品综合久久</a>| <a href="http://youkabaitiao.com" target="_blank">国产91免费视频</a>| <a href="http://yy1514.com" target="_blank">色多多A级毛片免费看</a>| <a href="http://513109.com" target="_blank">亚洲人成在线免费观看</a>| <a href="http://0917xzb.com" target="_blank">亚洲日韩VA无码中文字幕</a>| <a href="http://45-po.com" target="_blank">亚洲人成在线免费观看</a>| <a href="http://714747.com" target="_blank">美女视频黄a视频全免费网站一区</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>