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

¹ØÓÚXML¡¢XSLT¡¢JSÎÊÌâ - .NET¼¼Êõ / ASP.NET

Âß¼­£ºÔÚXSLÖлñµÃXMLÖнڵãpicPathµÄÖµ

ÀýÈ磺/templets/images/test.jpg|/templets/images/ad_1.gif|/templets/images/ad_2.jpg|

ÉùÃ÷±äÁ¿
<xsl:variable name="picPath" select="picPath"/>

½«Öµ´«¸øJSº¯Êý

<div onload="CutPic($picPath)">

JSº¯ÊýΪ
funtion CutPic(picPath)
{
£ý

ÎÊÌ⣺ÎÞ·¨½«picPathµÄÖµ´«¸øJSº¯ÊýCutPic()ÖÐ

Çë´óϺÃÇ°ï°ï棬ÔÚÏߵȣ¡
°ï¶¥¡­¡­

XML code:

<input id="picUrl" type="hidden">
<xsl:attribute name="value">
<xsl:value-of select="$picPath"/>
</xsl:attribute>
</input>



°ÑÖµ±£´æµ½Òþ²ØÓò£¬Óû§µÄʱºòÔÙ»ñÈ¡

¿ÉÄÜÎÒ˵µÄ²»´óÇå³þ£¬ÎÒÔÚJSÍâµ÷Óú¯Êý£ºÒ³Ãæ¼ÓÔØonload="CutPic('/templets/images/test.jpg|/templets/images/ad_1.gif|')"

È»ºó°ÑÖµ´«¸øJSÖеĺ¯Êý£¬¸øÊý×éarrUrl¸³Öµ£¬Ëæºó¿ÉÒÔÔÚº¯ÊýÍâʹÓÃÊý×éarrUrlµÄÖµ

Èç¹ûʹÓ÷µ»ØÖµ£¬ÔÚº¯ÊýÍâµ÷Óøú¯ÊýCutPic£¨²ÎÊý£©£¬ÀïÃæ²ÎÊýÔõô¸ã£¿²ÎÊýÊÇδ֪µÄ

<div onload="CutPic( "+<xsl:value-of select="$picPath"/> +")">

ÕâÑù²»ÐеĻ°£¬¾Í°ÑÖµ ·ÅÈëÒ»¸öÒþ²ØÓòÀïÃæ¡£ÔÚjs º¯ÊýÀïÃæÈ¡Õâ¸öÒþ²ØÓòµÄÖµ¡£

ÒýÓÃ
<div o


Ïà¹ØÎÊ´ð£º

Êý¾Ý±íÉú³ÉÌض¨¸ñʽµÄxml - .NET¼¼Êõ / ASP.NET

´ÓÊý¾Ý¿âÖвéѯһÕűíµÄÊý¾Ý
select ²¿ÃÅ,ÐÕÃû from tb
ÈçºÎ²ÅÄÜÉú³ÉÏÂÃæµÄxml¸ñʽÎļþ
<folder state="unchecked" label="È«²¿">
¡¡¡¡<folder state="unchecked" isBra ......

java xmlÎÄÌâ - Java / Java SE

<?xml version="1.0" encoding="utf-8" ?> 
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical&q ......

Ϊʲôxml²»ÄÜÏÔʾ°¢À­²®ÎÄ - C/C++ / C++ ÓïÑÔ

ΪʲôÎҵijÌÐòµ÷ÓÃXMLÅäÖÃÎļþÖеİ¢À­²®ÎÄÏÔʾ²»³öÀ´£¿ÆäËûµÄÓïÖÖ¶¼¿ÉÒÔ£¬ÈçÖÐÎÄ£¬Ó¢ÎÄ£¬µÂÎĶ¼¿É¡£
ÎÒ½«XMLµÄ±àÂë¸ÄΪutf-8ºÍunicodeµÄµ½µÃ½á¹û¶¼Ò»Ñù.
°¢À­²®ÎĵÄ×Ö¿âÄãÓÐô£¿

ÓÐ,ÎÒµÄEXEÊÇ·ÅÔÚpc»úÉÏÖ´Ðе ......

wapÍøÕ¾¿ª·¢µÄÎÊÌâ - .NET¼¼Êõ / ASP.NET

ÎÒÓÃ.net¿ª·¢wapÍøÕ¾
1£¬ÎÒ´Ó¹¤¾ßÏäÀïÍÏÁËÁ½¸ölink£¬ÕâÁ½¸ölink»áÏÔʾÔÚÁ½ÐУ¬Èç¹ûÈÃÕâÁ½¸ölink´¦ÓÚͬһÐС£
2£¬ÈçºÎÏÔʾÁ½¸ö¿Ø¼þÖ®¼äµÄ¿Õ¸ñÎÊÌâ¡£
¸úwapÓйØÂ𣿲»Ì«Ã÷°×

ÓÑÇé°ï¶¥¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£

¾Í ......

XMLѹËõ´«Êä - PowerBuilder / Web Ó¦ÓÃ

¹¦ÄÜ˵Ã÷:Java servlet °ÑXMLÊý¾ÝѹËõºó·¢Ë͵½PBÓû§¶Ë,PBÊÕµ½Êý¾Ýºó½âѹ³öÀ´.
´«ÊäÒª¾­¹ýBase64±àÂë.
ÎÊÌâÊÇ:ÄÜÊÕµ½Êý¾Ýµ«Êǽâѹ²»³öÀ´.ÏëÇë½Ì´ó¼Ò»òÕßÓÐʲôºÃµÄ°ì·¨?
PB¿ÉÒÔÓÃ"zlibwapi.DLL" ½âѹ
......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ