Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

PKM2Êý¾Ýµ¼³öµÄxmlÏÔʾÓõÄXSL

PKM2Õâ¸ö¸öÈË֪ʶ¹ÜÀíÈí¼þÏàÐźܶàÈËÓùý,¿ÉÒÔ°ÑÊý¾Ýµ¼³öΪchmµç×ÓÊé,µ«ÊDz»ÖªµÀΪʲôµ¹³öÀ´µÄchm²»Äܰ´ÕÕ±êÌâÅÅÐò,ËùÒÔÎҾ͵¼³öΪxml¸ñʽ,Ū¸öxslÀ´ÏÔʾËü.
<?xml version="1.0" encoding="gb2312"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" version="4.0" indent="yes"/>

<xsl:template match="/">
<html>
<head>
<TITLE>hh</TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"/>
<meta name="Author" content="(webuc.net)" />
<meta name="Description" content="" />
<mce:style><!--
body{margin:0px;color:black;font-size:9pt;}
div{background-color:#fff;border:1px solid #4682B4;}
p{indent:2em;margin-left:15px;}
ul{}
li{margin-left:10px;}
a:link {color: #2c4c78; text-decoration: none}
a:visited {color: #2c4c78; text-decoration: none}
a:hover {color: #8B0C01; text-decoration: underline}
a:active {color: red; text-decoration: none}
#left_nav{margin:10px;float:left;clear:left;width:250px;height:600px;overflow:scroll;}
#right_content{margin:10px;float:left;clear:right;width:600px;height:600px;overflow:scroll;}
--></mce:style><style mce_bogus="1">body{margin:0px;color:black;font-size:9pt;}
div{background-color:#fff;border:1px solid #4682B4;}
p{indent:2em;margin-left:15px;}
ul{}
li{margin-left:10px;}
a:link {color: #2c4c78; text-decoration: none}
a:visited {color: #2c4c78; text-decoration: none}
a:hover {color: #8B0C01; text-decoration: underline}
a:active {color: red; text-decoration: none}
#left_nav{margin:10px;float:left;clear:left;width:250px;height:600px;overflow:scroll;}
#right_content{margin:10px;float:left;clear:right;width:600px;height:600px;overflow:scroll;}</style>
</head>
<body>
<div id="main">
<xsl:apply-templates select="XMLDB"/>
</div>
</body>
</html>
</xsl:template>
<xsl:template match="XMLDB"&g


Ïà¹ØÎĵµ£º

php½âÎöxmlʾÀý

<!-- xml ¸ñʽ
<books>
<book id='1001'>
<author>andylin</author>
<title>c language</title>
<publisher id="aaa">O'Reilly</publisher>
</book>

<book id='1002'>
<author>congfeng</author>
<t ......

ASP.NETÖ®XML£ºÒª²åÈëµÄ½Úµã³ö×Ô²»Í¬µÄÎĵµÉÏÏÂÎÄ

ASP.NETÖ®XML£ºÒª²åÈëµÄ½Úµã³ö×Ô²»Í¬µÄÎĵµÉÏÏÂÎÄ
Òª²åÈëµÄ½Úµã³ö×Ô²»Í¬µÄÎĵµÉÏÏÂÎÄ
ʱ¼ä£º2009-06-12 08:15:11
Òì³£ÏêϸÐÅÏ¢:   System.ArgumentException:   Òª²åÈëµÄ½Úµã³ö×Ô²»Í¬µÄÎĵµÉÏÏÂÎÄ¡£
²úÉú×´¿ö£ºÏÖÔÚÓÐÁ½¸öxmlÎļþ£¬ÎÒÏë°ÑÕâÁ½¸öxmlºÏ²¢£¬ÔÚ¸øxml½Úµã²åÈëÒ»¸ö×Ó½Úµãʱ³öÏÖÁËÕâÑùµÄ´ ......

javascript¶ÁÈ¡xmlʵÏÖÓ¦ÓóÌÐò²Ëµ¥Ð§¹û

/*Ñùʽ*/
<style type="text/css">
    td{font-size:12px;}
    .item{text-decoration:none;width:100%;height:100%; line-height:22px;cursor:default;color:Black;vertical-align:middle}
    .staticTab{cursor:default;height:22px}
   ......

Asp.Net XML²Ù×÷»ùÀà(ÐÞ¸Ä,ɾ³ý,ÐÂÔö,´´½¨)

/############################################
°æÈ¨ÉùÃ÷£º
ÎÄÕÂÄÚÈÝΪ±¾Õ¾±à¼­,´´×÷.Äã¿ÉÒÔÈÎÒâ×ªÔØ¡¢·¢²¼¡¢Ê¹Óõ«ÇëÎñ±ØÒÔÃ÷Îıê×¢ÎÄÕÂԭʼ³ö´¦¼°±¾ÉùÃ÷
×÷Õß:ÀËÌÔɳ
############################################/
/****************************************************************
* ¸üÐÂÄÚÈÝ: 1,¸ù¾Ý¸¸½Úµã ......

Flex¶ÁÈ¡ÍⲿXMLÖÐÎÄÂÒÂë½â¾ö°ì·¨

ÓÃURLLoader¼ÓÔØXML£¬È»ºó½«dataת»¯ÎªByteArray
ÓÃbyteArray.readMultiByte(bytes.length,"utf-8")
È»ºó½«×ª»¯ºóµÄ×Ö·û´®ÔÙÇ¿ÖÆ×ª»¯ÎªXML
var loader:URLLoader = new URLLoader();
loader.dataFormat = URLLoaderDataFormat.Binary;
var urlRequest:URLRequest = new URLRequest(source);
loader.addEventListener( ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ