??xml version="1.0" encoding="utf-8" standalone="yes"?>黄污在线观看,禁果av一区二区三区,日本一区二区成人http://www.aygfsteel.com/bibi/archive/2008/10/11/233728.htmlg?/dc:creator>g?/author>Sat, 11 Oct 2008 04:59:00 GMThttp://www.aygfsteel.com/bibi/archive/2008/10/11/233728.htmlhttp://www.aygfsteel.com/bibi/comments/233728.htmlhttp://www.aygfsteel.com/bibi/archive/2008/10/11/233728.html#Feedback0http://www.aygfsteel.com/bibi/comments/commentRss/233728.htmlhttp://www.aygfsteel.com/bibi/services/trackbacks/233728.html 
 2、删除驱动备份: %windows%\driver cache\i386目录下的driver.cab 档,通常q个档是70.3M?br />  
   3、删除\windows\ime下不用的输入法,8xM     

    4、如果你不看pȝ的帮助的?..删除%windows%\help?录下的所以文Ӟ36M?br />     
   5、关闭系l还原,叛_单击“我的计机”,选择“内容”,扑ֈ“系l还原”,选择“在所有驱动器上关?pȝq原”?br />     
   6、如果你的系l区I间实在紧张Q可以考虑把IE览器的临时文g夹移动到其它分区Q方法:点击IEQ工兗Internet 选项》Internet临时文g》设定》移动活夹 O.K?  

   7、如果空间再紧张的话Q启用NTFS的压~功能,不用!
     
    8、卸?不常用的lgQWIN2K3和以前的WINDOWS版本不同Q安装全部由pȝ自己负责Q用h法选择安装需要的lg。执行“添?删除E序”,删除 掉游戏,壁纸{不用的附g。还有记住删除Internet Explorer 增强的安全配|,要不览|页时M弹出警告Q还可以用记事本修改\% windows%\inf\sysoc.infQ用查找/替换功能Q在查找框中输入,hideQ全部替换ؓI?注意,q行中的,hide不能替换?"netfx=netfxocm.dll,UrtOcmProc,netfxocm.inf,hide,7")。这P把所有的,hide都去掉了Q存盘退出,执行“添?删除E序”,׃?见“添?删除 Windows lg”中多出不少选项,但和XP下不?改完后虽焉藏的都出来了,但只?Windows自动更新一可以删?其它的是 不允许删除滴~~ 

==============================================

1.删除C:\WINDOWS\PCHEALTH\ERRORREP\UserDumps中所有文?400多M,q些文g是pȝ出错时自动生的一U记录出错时pȝ状态的日志文g?

2.删除所有C:\WINDOWS\$*$文g,都是些系l升U备份文?800多M.

3.C:\WINDOWS\SoftwareDistribution\Download所有文件打包后删除,Ud其他大的分区的备份目录下?q个文g夹的东东可以用来以后装系l的时候直接复制到新系l的该目?pȝ升时不用重C微Y下补丁了.节省500多M.

4.C:\WINDOWS\ServicePackFiles文gҎ有文件移动到Ud其他大的分区的备份目录下? 修改注册表的键?这个键值定义到修改的\?HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\ ServicePackSourcePath.q个目录的所有文件是用来q原Service Pack?586M

5.删除C:\WINDOWS\Driver Cache\i386,q些文g都是Windows操作pȝ自带的已知硬仉动文?

6.删除C:\Documents and Settings\huangxianglong\Local Settings\Temp 400多M

7.关闭OUTLOOK2003,其数据文g转移到大分区,然后重启OUTLOOK2003,其数据和本文文件夹指向新\径即?节省了我C?G的空?
 
8.My Document的\径指向大分区某个文g?

]]>
Oracle 10G -- Pl/sql 基础http://www.aygfsteel.com/bibi/archive/2006/08/21/64890.htmlg?/dc:creator>g?/author>Mon, 21 Aug 2006 13:39:00 GMThttp://www.aygfsteel.com/bibi/archive/2006/08/21/64890.htmlhttp://www.aygfsteel.com/bibi/comments/64890.htmlhttp://www.aygfsteel.com/bibi/archive/2006/08/21/64890.html#Feedback0http://www.aygfsteel.com/bibi/comments/commentRss/64890.htmlhttp://www.aygfsteel.com/bibi/services/trackbacks/64890.html阅读全文

]]>
在WINXP HOME版下安装ROSE SUITE 2003及退出错误补?/title><link>http://www.aygfsteel.com/bibi/archive/2006/06/09/51691.html</link><dc:creator>g?/dc:creator><author>g?/author><pubDate>Fri, 09 Jun 2006 07:10:00 GMT</pubDate><guid>http://www.aygfsteel.com/bibi/archive/2006/06/09/51691.html</guid><wfw:comment>http://www.aygfsteel.com/bibi/comments/51691.html</wfw:comment><comments>http://www.aygfsteel.com/bibi/archive/2006/06/09/51691.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.aygfsteel.com/bibi/comments/commentRss/51691.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/bibi/services/trackbacks/51691.html</trackback:ping><description><![CDATA[ <p>下蝲<a ><br />http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en</a><br />安装完后再安?bin/Orca.msi</p> <p>然后用orca打开rose.msiQ删?VersionNT AND (NOT RSWINXPHOME))OR (DISABLE_PLATFORM_BLOCKS = 1)卛_?br /><br /></p> <p> <font face="verdana, arial, helvetica" size="2"> <span id="wmqeeuq" class="javascript" id="text2006212" style="FONT-SIZE: 12px">另外错误Q?br />应用rational rose 后退出时报错Q?MEM_BAD_POINTER"<br /><br />解决办法Q?br />1) extract shw32.dll from the attached zip file.<br /><br />2) locate the copy of shw32.dll that the affected program (the one<br />that's giving the MEM_BAD_POINTER error) is using. Rename this file,<br />or move it to some other directory for safe keeping. Note: this step<br />is not strictly necessary, BUT if you experience problems with our<br />new DLL, the first thing we're going to suggest is that you revert to<br />your old one.<br /><br />3) with your old shw32.dll renamed or moved for safe keeping, install<br />the new shw32.dll where the old one used to be. Now run your app as<br />usual and verify that the error no longer appears.<br /><br />4) if after step 3 you still see the MEM_BAD_POINTER error, search<br />your hard drives for any other occurrences of shw32.dll and replace<br />those (using the above procedures), one at a time, until the error no<br />longer appears.<br /><br /><a class="" title="rose pack" href="/Files/bibi/94_016363_1102062135.zip" target="">下蝲补丁</a></span> </font> </p> <img src ="http://www.aygfsteel.com/bibi/aggbug/51691.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/bibi/" target="_blank">g?/a> 2006-06-09 15:10 <a href="http://www.aygfsteel.com/bibi/archive/2006/06/09/51691.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Leadership and Outsourcing Project Management -- mIchaelhttp://www.aygfsteel.com/bibi/archive/2006/03/03/33501.htmlg?/dc:creator>g?/author>Fri, 03 Mar 2006 09:07:00 GMThttp://www.aygfsteel.com/bibi/archive/2006/03/03/33501.htmlhttp://www.aygfsteel.com/bibi/comments/33501.htmlhttp://www.aygfsteel.com/bibi/archive/2006/03/03/33501.html#Feedback0http://www.aygfsteel.com/bibi/comments/commentRss/33501.htmlhttp://www.aygfsteel.com/bibi/services/trackbacks/33501.html组以Q务ؓ导向Q无职务高低之区分,仅仅是Q务分工不?
有着一致的目标Q在既定时辰内完成客h意的工作产出
  阅读全文

]]>
三步搞定!水货商坦aIBM本本验货指南http://www.aygfsteel.com/bibi/archive/2006/02/13/30397.htmlg?/dc:creator>g?/author>Sun, 12 Feb 2006 17:42:00 GMThttp://www.aygfsteel.com/bibi/archive/2006/02/13/30397.htmlhttp://www.aygfsteel.com/bibi/comments/30397.htmlhttp://www.aygfsteel.com/bibi/archive/2006/02/13/30397.html#Feedback0http://www.aygfsteel.com/bibi/comments/commentRss/30397.htmlhttp://www.aygfsteel.com/bibi/services/trackbacks/30397.html

W?:对照IBM的装单核对包装内物品


一般情况下IBM随包装箱会放一张装单Q这个东西现在一般机器都不带Q没有多大用处,也难免香港h会把它扔掉,在他们看来除了机器,别的都无所谓。单子上会列出包装箱内的所有附件?

三步搞定!水货商坦aIBM本本验货指南

    1、机器一?/P>

 2、电池一?注意:按行货的装相ҎQ电池和机器是分开的,因ؓ香港人拿到机器要先验屏有无坏点, 所以电池就装在机器上了?/P>

 3、适配器一?头ؓ英制Q香港货和新加坡货都是这U?头ؓ制Q美国货是这L?/P>

 4、电话线一根,接猫上网的,现在很少人用了?/P>

 5、说明书一套。多数均为T40版的Q猜是IBMZ节约成本Q所以T40QT41QT42QT43都用同一套说明书?/P>

 6、小U帽两个。ؓ来原配的脏了更换的?/P>

 7、固定螺丝一颗用来固定互换光区的Q防止别人插拔?BR>

W?:查外观、验证SN?/B>

    接下来就要看外观了,有没有划伤,毕竟外观也是很重要的Q要查外观有无硬商如果有及时更换。特别要注意qx不太注意的细节,比如机器底部?A class=keyword target=_blank>键盘q有屏幕?

三步搞定!水货商坦aIBM本本验货指南

  开BIOSQ先查看机器大概的配|,主频Q?A class=keyword target=_blank>内存Q还有关键的两个LQSN号和UUIDL。SNh机器唯一的序列号Q没有重复的Q从BIOS里查到的SN可和包装箱的,机器背面的,q有用测试Y件测出来的都对上Q才完整?/P>

 UUIDL?A class=keyword target=_blank>L序列受只昄在BIOS里和包装׃Q这两处也要对上。另外要和用试软g出的UUID号也对上。如果机?A class=keyword target=_blank>L被动q,那UUIDh会改变的?BR>

W?:查屏q、电池和保修

 开始进入系l,试屏幕Q可以用专业的测试YӞ|上有很多像Nokia的Y件等{,主要查坏点和亮点?

三步搞定!水货商坦aIBM本本验货指南

    查看甉|充电ơ数Q一般来_不超q两ơ。如果是旧电池的Q这一步是逃不q去的,而且以目前的技术,q没有哪个高手可以刷新充甉|?/P>

    一定要上网查询保修期限和核寚w件的~号

    具体|址Q?A >http://www-3.ibm.com/pc/support/site.wss/warranty/warranty.vm 

三步搞定!水货商坦aIBM本本验货指南

  在TYPE一栏中输入机器型号Q如2373在Serial#一栏中输入机器SNP然后点ContinueQ或者点d会出C修信息?/P>

三步搞定!水货商坦aIBM本本验货指南

    有本机器的保修期限和销售地?/P>

    特别说明Q因关是机器和包装分开q的Q然后到深圳再一对一的装,隑օ适配器和电话U装错,有可能造成q两个部件的L和网站显C号码难以对上。除此之外,机器?A class=keyword target=_blank>盘~号Q电池编L{都是能对上的。另外次~号是IBMq配g所做的出厂~号Q很多测试Y件是不出来的。最后一Ҏ查是否带有COA??BR>



]]>
How to hold effective meeting? http://www.aygfsteel.com/bibi/archive/2005/12/07/22841.htmlg?/dc:creator>g?/author>Wed, 07 Dec 2005 04:32:00 GMThttp://www.aygfsteel.com/bibi/archive/2005/12/07/22841.htmlhttp://www.aygfsteel.com/bibi/comments/22841.htmlhttp://www.aygfsteel.com/bibi/archive/2005/12/07/22841.html#Feedback0http://www.aygfsteel.com/bibi/comments/commentRss/22841.htmlhttp://www.aygfsteel.com/bibi/services/trackbacks/22841.html end img

]]>
l合水晶报表工具Q能做出q样的报表来吗?http://www.aygfsteel.com/bibi/archive/2005/11/25/21442.htmlg?/dc:creator>g?/author>Fri, 25 Nov 2005 08:58:00 GMThttp://www.aygfsteel.com/bibi/archive/2005/11/25/21442.htmlhttp://www.aygfsteel.com/bibi/comments/21442.htmlhttp://www.aygfsteel.com/bibi/archive/2005/11/25/21442.html#Feedback0http://www.aygfsteel.com/bibi/comments/commentRss/21442.htmlhttp://www.aygfsteel.com/bibi/services/trackbacks/21442.html
o_ship.JPG


关键应该在于Q如何在水晶报表中加上轮船Ş状和Ҏ子的图案?BR>1Q从水晶报表内置的图形报表入手,但我查看了水晶报表的安装目录Q没有找到图形报表的image图?BR>2Q把船的囑Ş做ؓ水晶报表内置的图形报表的背景Q放在C:\Program Files\Common Files\Microsoft Shared\Clipart\cagcat50中,q另存ؓQtest.WMF。但WMFq得探究一下?BR>
不知哪位朋友有这斚w的经验,恌赐教Q?img src ="http://www.aygfsteel.com/bibi/aggbug/21442.html" width = "1" height = "1" />

]]>
水晶报表pd文章--在Web 上打印水晶报表的四种Ҏhttp://www.aygfsteel.com/bibi/archive/2005/11/25/21428.htmlg?/dc:creator>g?/author>Fri, 25 Nov 2005 07:02:00 GMThttp://www.aygfsteel.com/bibi/archive/2005/11/25/21428.htmlhttp://www.aygfsteel.com/bibi/comments/21428.htmlhttp://www.aygfsteel.com/bibi/archive/2005/11/25/21428.html#Feedback1http://www.aygfsteel.com/bibi/comments/commentRss/21428.htmlhttp://www.aygfsteel.com/bibi/services/trackbacks/21428.html阅读全文

]]>
水晶报表pd文章-- Java 支持概览及技术白皮书资源 xi版本下蝲地址http://www.aygfsteel.com/bibi/archive/2005/11/24/21283.htmlg?/dc:creator>g?/author>Thu, 24 Nov 2005 06:48:00 GMThttp://www.aygfsteel.com/bibi/archive/2005/11/24/21283.htmlhttp://www.aygfsteel.com/bibi/comments/21283.htmlhttp://www.aygfsteel.com/bibi/archive/2005/11/24/21283.html#Feedback0http://www.aygfsteel.com/bibi/comments/commentRss/21283.htmlhttp://www.aygfsteel.com/bibi/services/trackbacks/21283.html阅读全文

]]>
Oracle 10G 下蝲地址http://www.aygfsteel.com/bibi/archive/2005/11/23/21126.htmlg?/dc:creator>g?/author>Wed, 23 Nov 2005 06:57:00 GMThttp://www.aygfsteel.com/bibi/archive/2005/11/23/21126.htmlhttp://www.aygfsteel.com/bibi/comments/21126.htmlhttp://www.aygfsteel.com/bibi/archive/2005/11/23/21126.html#Feedback8http://www.aygfsteel.com/bibi/comments/commentRss/21126.htmlhttp://www.aygfsteel.com/bibi/services/trackbacks/21126.html
http://download-west.oracle.com/otn/nt/ias/101202/as_windows_x86_101202_disk1.zip 
http://download-west.oracle.com/otn/nt/ias/101202/as_windows_x86_101202_disk2.zip
http://download-west.oracle.com/otn/nt/ias/101202/as_windows_x86_101202_disk3.zip

Oracle Database 10g Release 2 (10.2.0.1.0)
http://download-west.oracle.com/otn/nt/oracle10g/10201/102010_win64_x64_database.zip

]]>
XSL 学习W记 —?中񔽋?/title><link>http://www.aygfsteel.com/bibi/archive/2005/11/16/20096.html</link><dc:creator>g?/dc:creator><author>g?/author><pubDate>Wed, 16 Nov 2005 08:44:00 GMT</pubDate><guid>http://www.aygfsteel.com/bibi/archive/2005/11/16/20096.html</guid><wfw:comment>http://www.aygfsteel.com/bibi/comments/20096.html</wfw:comment><comments>http://www.aygfsteel.com/bibi/archive/2005/11/16/20096.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.aygfsteel.com/bibi/comments/commentRss/20096.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/bibi/services/trackbacks/20096.html</trackback:ping><description><![CDATA[<P><STRONG>一?FONT size=4>XSL的运符</FONT></STRONG></P> <P>表一、运符与特D字W?/P> <TABLE style="FONT-SIZE: 12px" cellSpacing=0 cellPadding=0 width=500 align=center border=0> <TBODY> <TR> <TD width=67 bgColor=#666666 height=25> <FONT color=#ffffff>q算W?/FONT></TD> <TD width=10 bgColor=#000000 height=25></TD> <TD width=427 bgColor=#000000><FONT color=#ffffff>描述</FONT></TD></TR> <TR> <TD width=67 bgColor=#eeeeee height=35> <DIV align=center>/</DIV></TD> <TD width=10 bgColor=#cccccc height=35></TD> <TD width=427 bgColor=#cccccc>选择子元素,q回左侧元素的直接子元素Q如?/"位于最左侧表示选择根结点的直接子元?/TD></TR> <TR bgColor=#f0f0f0> <TD width=67 height=35> <DIV align=center>//</DIV></TD> <TD width=10 bgColor=#eeeeee height=25></TD> <TD width=427 bgColor=#eeeeee>递归下降Q不论深度,搜烦指定的元素;如果位于最左侧表示从根l点出发递归下降搜烦指定元素</TD></TR> <TR> <TD width=67 bgColor=#eeeeee height=35> <DIV align=center><B><FONT face="Verdana, Arial, Helvetica, sans-serif">.</FONT></B></DIV></TD> <TD width=10 bgColor=#cccccc height=25></TD> <TD width=427 bgColor=#cccccc>表示当前元素</TD></TR> <TR bgColor=#f0f0f0> <TD width=67 height=35> <DIV align=center>*</DIV></TD> <TD width=10 bgColor=#eeeeee height=25></TD> <TD width=427 bgColor=#eeeeee>通配W,选择L元素Q不考虑名字</TD></TR> <TR> <TD width=67 bgColor=#eeeeee height=35> <DIV align=center>@</DIV></TD> <TD width=10 bgColor=#cccccc height=25></TD> <TD width=427 bgColor=#cccccc> <P></P> <P>取得属性|作ؓ属性名的前~</P></TD></TR> <TR bgColor=#f0f0f0> <TD width=67 height=35> <DIV align=center>@*</DIV></TD> <TD width=10 bgColor=#eeeeee height=25></TD> <TD width=427 bgColor=#eeeeee> <P></P> <P>通配W,选择L属性,不考虑名字</P></TD></TR> <TR> <TD width=67 bgColor=#eeeeee height=35> <DIV align=center><FONT face="Verdana, Arial, Helvetica, sans-serif"><B>:</B></FONT></DIV></TD> <TD width=10 bgColor=#cccccc height=25></TD> <TD width=427 bgColor=#cccccc>名字作用范围分隔W,名字作用范围前~与元素或属性名分隔开?/TD></TR> <TR bgColor=#f0f0f0> <TD width=67 height=35> <DIV align=center><FONT face="Verdana, Arial, Helvetica, sans-serif"><B>!*</B></FONT></DIV></TD> <TD width=10 bgColor=#eeeeee height=25></TD> <TD width=427 bgColor=#eeeeee>在相兌点上应用指定Ҏ</TD></TR> <TR> <TD width=67 bgColor=#eeeeee height=35> <DIV align=center>()*</DIV></TD> <TD width=10 bgColor=#cccccc height=25></TD> <TD width=427 bgColor=#cccccc>分组Q明指定优先顺?/TD></TR> <TR bgColor=#f0f0f0> <TD width=67 height=35> <DIV align=center>[]</DIV></TD> <TD width=10 bgColor=#eeeeee height=25></TD> <TD width=427 bgColor=#eeeeee>应用qo样式</TD></TR> <TR> <TD width=67 bgColor=#eeeeee height=35> <DIV align=center>[]*</DIV></TD> <TD width=10 bgColor=#cccccc height=25></TD> <TD width=427 bgColor=#cccccc>下标q算W,用于在集合中指示元素</TD></TR></TBODY></TABLE> <P>  表二、逻辑q算W?/P> <TABLE style="FONT-SIZE: 12px" cellSpacing=0 cellPadding=0 width=500 align=center border=0> <TBODY> <TR> <TD width=114 bgColor=#666666 height=25> <FONT color=#ffffff>可选方?/FONT></TD> <TD width=10 bgColor=#000000 height=25></TD> <TD width=368 bgColor=#000000><FONT color=#ffffff>描述</FONT></TD></TR> <TR> <TD width=114 bgColor=#eeeeee height=25> <DIV align=center>and $and$ ?&&</DIV></TD> <TD width=10 bgColor=#cccccc height=25></TD> <TD width=368 bgColor=#cccccc height=25>逻辑?/TD></TR> <TR> <TD width=114 bgColor=#f0f0f0 height=25> <DIV align=center>or $or$ ?||</DIV></TD> <TD width=10 bgColor=#eeeeee height=25></TD> <TD width=368 bgColor=#eeeeee height=25>逻辑?/TD></TR> <TR> <TD width=114 bgColor=#eeeeee height=25> <DIV align=center>not() $not$</DIV></TD> <TD width=10 bgColor=#cccccc height=25></TD> <TD width=368 bgColor=#cccccc height=25>逻辑?/TD></TR></TBODY></TABLE> <P>  表三、关p运符<BR></P> <TABLE style="FONT-SIZE: 12px" cellSpacing=0 cellPadding=0 width=500 align=center border=0> <TBODY> <TR> <TD width=114 bgColor=#666666 height=25> <FONT color=#ffffff>可选方?/FONT></TD> <TD width=10 bgColor=#000000 height=25></TD> <TD width=368 bgColor=#000000><FONT color=#ffffff>描述</FONT></TD></TR> <TR> <TD width=114 bgColor=#eeeeee height=25> <DIV align=center>= ?$eq$</DIV></TD> <TD width=10 bgColor=#cccccc height=25></TD> <TD width=368 bgColor=#cccccc height=25>相等</TD></TR> <TR> <TD width=114 bgColor=#f0f0f0 height=25> <DIV align=center>= ?$ieq$</DIV></TD> <TD width=10 bgColor=#eeeeee height=25></TD> <TD width=368 bgColor=#eeeeee height=25>相等Q不区分大小写)</TD></TR> <TR> <TD width=114 bgColor=#eeeeee height=25> <DIV align=center>!= ?$ne$</DIV></TD> <TD width=10 bgColor=#cccccc height=25></TD> <TD width=368 bgColor=#cccccc height=25>不等</TD></TR> <TR> <TD width=114 bgColor=#f0f0f0 height=25> <DIV align=center>$ine$</DIV></TD> <TD width=10 bgColor=#eeeeee height=25></TD> <TD width=368 bgColor=#eeeeee height=25>不等Q不区分大小写)</TD></TR> <TR> <TD width=114 bgColor=#eeeeee height=25> <DIV align=center>< ?$lt$ </DIV></TD> <TD width=10 bgColor=#cccccc height=25></TD> <TD width=368 bgColor=#cccccc height=25>于</TD></TR> <TR> <TD width=114 bgColor=#f0f0f0 height=25> <DIV align=center>$ilt$</DIV></TD> <TD width=10 bgColor=#eeeeee height=25></TD> <TD width=368 bgColor=#eeeeee height=25>于Q不区分大小写)</TD></TR> <TR> <TD width=114 bgColor=#eeeeee height=25> <DIV align=center><= ?$le$</DIV></TD> <TD width=10 bgColor=#cccccc height=25></TD> <TD width=368 bgColor=#cccccc height=25>于{于</TD></TR> <TR> <TD width=114 bgColor=#f0f0f0 height=25> <DIV align=center>$ile$</DIV></TD> <TD width=10 bgColor=#eeeeee height=25></TD> <TD width=368 bgColor=#eeeeee height=25>于{于Q不区分大小写)</TD></TR> <TR> <TD width=114 bgColor=#eeeeee height=25> <DIV align=center>> ?$gt$ </DIV></TD> <TD width=10 bgColor=#cccccc height=25></TD> <TD width=368 bgColor=#cccccc height=25>大于</TD></TR> <TR> <TD width=114 bgColor=#f0f0f0 height=25> <DIV align=center>$igt$</DIV></TD> <TD width=10 bgColor=#eeeeee height=25></TD> <TD width=368 bgColor=#eeeeee height=25>大于Q不区分大小写)</TD></TR> <TR> <TD width=114 bgColor=#eeeeee height=25> <DIV align=center>>= ?$ge$</DIV></TD> <TD width=10 bgColor=#cccccc height=25></TD> <TD width=368 bgColor=#cccccc height=25>大于{于</TD></TR> <TR> <TD width=114 bgColor=#f0f0f0 height=25> <DIV align=center>$ige$</DIV></TD> <TD width=10 bgColor=#eeeeee height=25></TD> <TD width=368 bgColor=#eeeeee height=25>大于{于Q不区分大小写) </TD></TR> <TR> <TD width=114 bgColor=#eeeeee height=25> <DIV align=center>$all$ </DIV></TD> <TD width=10 bgColor=#cccccc height=25></TD> <TD width=368 bgColor=#cccccc height=25>集合q算W,如果集合中所有项目均满条g则返?? </TD></TR> <TR> <TD width=114 bgColor=#f0f0f0 height=25> <DIV align=center>$any$</DIV></TD> <TD width=10 bgColor=#eeeeee height=25></TD> <TD width=368 bgColor=#eeeeee height=25>集合q算W,如果集合中Q意项目满x件则q回"? </TD></TR> <TR> <TD width=114 bgColor=#eeeeee height=25> <DIV align=center>|</DIV></TD> <TD width=10 bgColor=#cccccc height=25></TD> <TD width=368 bgColor=#cccccc height=25>集合q算W,q回两个集合的联?/TD></TR></TBODY></TABLE><BR><STRONG>二?nbsp;脚本与XSL的结合及应用<BR></STRONG> <P><xsl:eval>含义Q计脚本表辑ּQ输Z个文本字W串?BR>语法Q?BR><xsl:eval language="language-name"><BR>  属性:<BR>  language ── 规定所用脚本语a的名字,可用的属性有"JavaScript"?JScript"?VBScript"?VBS"{,~省?JScript"?/P> <P><xsl:script>含义Q声明全局变量或定义函数?BR>  语法Q?BR><xsl:script language="language-name"><BR>  属性:?lt;xsl:eval><BR><BR>例如Q?BR><TR><TD>计</TD><BR><TD><xsl:eval>total(this,"q1")</xsl:eval></TD><BR><TD><xsl:eval>total(this,"q2")</xsl:eval></TD><BR><TD><xsl:eval>total(this,"q3")</xsl:eval></TD><BR><TD><xsl:eval>total(this,"q4")</xsl:eval></TD><BR></TR><BR></TABLE></P> <P><xsl:script><BR>function total(node,q)<BR>{<BR>  temp=0; <BR>  mark='/document/report/'+q;<BR>  v=node.selectNodes(mark);<BR>  for(t=v.nextNode();t;t=v.nextNode())<BR>  {<BR>    temp+=Number(t.text);<BR>  }<BR>  return temp; //计?BR>}<BR></xsl:script><BR>selectNodes() ── 是XMLDOMObject的一个方法,q回文档中所有满x件的l点的集合,条g?lt; xsl:for-each >和select属性的取值采用同L写法Q可以加{选、下标等限制?/P><BR><FONT size=4><STRONG>三、XSL函数</STRONG><BR><BR><FONT size=3>        1、end()<BR></FONT>  含义Q返回集合中最后一个元素?BR><BR>       2、index()<BR>  含义Q返回该元素在集合中的位|,q回值是一整数Q其中第一个元素返??BR><BR><FONT size=3>         3、nodeName()<BR></FONT>  含义Q返回元素的名字Q即标记名?BR>  CZQ选择L元素Q假如其名字Q即标记名){于"name"Q?BR>       *[nodeName()='name'] ?*[name]<BR><BR><FONT size=3>          4、number()<BR>         </FONT>含义Q将D{换ؓ数值Ş式,如果不是数值则q回I,要求参数?BR>  CZQ年?age)于30岁的人的?resume)Q?BR>        resume[number(age)$lt$30] ?resume[age$lt$30]<BR><BR><FONT size=3>        5、nodeType()<BR>       </FONT>含义Q返回结点类型,l果为是数倹{以下是q回值列表:<BR><BR> <TABLE style="FONT-SIZE: 12px" cellSpacing=1 cellPadding=0 width=500 align=center border=0> <TBODY> <TR> <TD width=209 bgColor=#000000 height=25><FONT color=#ffffff> l点cd</FONT></TD> <TD width=85 bgColor=#000000><FONT color=#ffffff> l点cd?/FONT></TD> <TD width=202 bgColor=#000000><FONT color=#ffffff> l点的字WŞ式描q?/FONT></TD></TR> <TR> <TD width=209 bgColor=#cccccc height=25> Element</TD> <TD width=85 bgColor=#cccccc> 1</TD> <TD width=202 bgColor=#cccccc> 'element'</TD></TR> <TR> <TD width=209 bgColor=#eeeeee height=25> Element Attribute</TD> <TD width=85 bgColor=#eeeeee> 2</TD> <TD width=202 bgColor=#eeeeee> 'attribute'</TD></TR> <TR bgColor=#cccccc> <TD width=209 height=25> Markup-Delimited Region of Text</TD> <TD width=85> 3</TD> <TD width=202> 'text'</TD></TR> <TR> <TD width=209 bgColor=#eeeeee height=25> Processing Instruction</TD> <TD width=85 bgColor=#eeeeee> 7</TD> <TD width=202 bgColor=#eeeeee> 'processing_instruction'</TD></TR> <TR bgColor=#cccccc> <TD width=209 height=25> Comment</TD> <TD width=85> 8</TD> <TD width=202> 'comment'</TD></TR> <TR> <TD width=209 bgColor=#eeeeee height=25> Document Entity</TD> <TD width=85 bgColor=#eeeeee> 9</TD> <TD width=202 bgColor=#eeeeee> 'document'</TD></TR></TBODY></TABLE> <P>  6、value()<BR>        含义Q返回元素或属性的倹{?BR>        CZQvalue()是元素或属性的~省ҎQ以下表C是{hQ?BR>        name!value()="NAME" ?name="NAME"<BR>       @attr="attribute_value" ?@attr="attribute_value"<BR>       注:@是属性前~Q@attr表示是属性attr<BR><BR>  7、attribute()<BR>  含义Q返回所有属性结点的集合Q等价于"@*"?BR>        CZQ寻找所有的resume元素Q满x件至有一个属性的gؓ"ABC"Q?BR>         resume[$any$attribute()='ABC'] ?resume[$any$@*='ABC']<BR>        L所有的resume元素Q满x件至有一个子元素有一个属性的gؓ"ABC"Q?<BR>        resume[$any$*/attribute()='ABC'] ?resume[$any$*/@*='ABC']<BR><BR>       8、comment()<BR>       含义Q返回所有注释结炏V?BR>       CZQ?BR>      resume[$any$comment()='希初的?]<BR>      表示L含有注释语句Q?lt;!--希初的?->?lt;resume>元素?BR><BR>       9、cdata()<BR>      含义Q返回所有CDATAcd的结点的集合?BR>      CZQresume[$any$cdata()='希初的?]<BR>      表示L含有下述语句Q必L直接子结点)<![CDATA[希初的历]]>?lt;resume>?nbsp;  素?BR><BR>       10、node()<BR>       含义Q返回当前上下文环境中除根结点和属性结点以外的所有结点的集合Q等价于Q?BR>       "*|pi()|comment()|text()"</P> <P>  CZQ寻找所有元素resumeQ其最后一个结点的名字?skill"Q?BR>        resume[node()[end()]!nodeName()='skill'] <BR>        L所有resume元素的第一个结点:resume/node()[0]?/P> <P>  11、textnode()<BR>       含义Q返回所有文本类型的l点的集合?BR>       CZQ寻找每一个p元素的第二个文本l点Qp/textnode(1) ?p!textnode(1)</P> <P>  12、text()<BR>       含义Q返回所有表C文本字W串的结点的集合Q等价于"cdata()|textnode()"?BR><BR>13、absoluteChildNumber <BR>  含义Q返回结点相对于它所有的兄弟Q不论名字是否相同)的序受?BR>  语法QabsoluteChildNumber(node)<BR>  参数Qnode ── 对象Q欲q回~号的结炏V?BR>  CZQ?BR>  1、假定文档结构ؓQ?lt;document><head/><body/></document>Q其中document为顶层结点,下述表达式将输出Q?BR>  <xsl:eval><BR>  absoluteChildNumber(this.selectNodes('/document/body').item(0))<BR>  </xsl:eval><BR>  2、确定当前结点相对于其所有兄弟的序号Q?BR>  <xsl:eval><BR>  absoluteChildNumber(this)<BR>  </xsl:eval></P> <P>14、ancestorChildNumber<BR>  含义Q从l定l点出发Ҏl定先l点名返回最q的先l点的序P相对于同名结点)。如果找不祖先,则返??BR>  语法QancestorChildNumber(bstrNodeName, pNode)<BR>  参数Q?BR>  bstrNodeName ── 字符丌Ӏ被搜烦的祖先结点的名字?BR>  pNode ── 对象。搜索开始位|的l点?BR>  CZ查找当前l点最q的名ؓreport先l点Q?BR>  ancestorChildNumber('report',this)</P> <P>15、attributes<BR>  含义Q返回结点属性的集合?BR>  语法Qobject.attributes<BR>  参数Qobject ── l点对象?BR>  CZQ当前结点属性的个数<BR>  this.attributes.length<BR>  当前l点W三个属性的值this.attributs.item(2).value或this.attributes.item(2).text或this.attributes(2).text<BR>  注意Q如果给定的下标大于属性d?出错,W一个属性的下标??/P> <P>16、baseName<BR>  含义Q返回有名字I间限制的基本名Q即不包括名字前~?BR>  语法Qobject.baseName<BR>  参数Qobject ── l点对象<BR>  CZQ当前结点的基本名:this.baseName</P> <P>17、childNumber<BR>  含义Q返回结点相对于同名同胞的序受?BR>  语法QchildNumber(object)<BR>  参数Qobject ── l点对象<BR>  CZQ假定XML文档l构如下Q?lt;x><y><z></z></y></x><BR>  如果当前l点是zQ则childNumber(this)q回1Q而absoluteChildNumber(this)q回3?</P> <P>18、dataType<BR>  含义Q设定或dl点的数据类型?BR>  语法Q设定结点的数据cd object.dataType=objValue<BR>     dl点的数据类?objValue=object.dataType<BR>  参数Qobject ── l点对象?BR>  CZQ读取当前结点的数据cdQdtType=this.dataType</P> <P>19、depth<BR>  含义Q指定结点出现在文档树上的深度,卌l点位于文档W几层,层l点位于W一层,根结点(即用"/"表示的结点)位于W?层?BR>  语法Qdepth(pNode)<BR>  参数QpNode ── l点对象<BR>  CZQ当前结点的深度Qdepth(this)</P> <P>20、firstChild、lastChild<BR>  含义Q返回结点的W一个子l点Q或最后一个子l点Q?BR>  语法QpNode.firstChild<BR>     pNode.lastChild<BR>  参数QpNode ── l点对象<BR>  CZQ当前结点的W一个结点的名字Qthis.firstChild.nodeName</P> <P>21、formatIndex<BR>  含义Q用指定的计数系l格式化提供的整数?BR>  语法QformatIndex(lIndex, bstrFormat)<BR>  参数Q?BR>  lIndex ── 整型数值或变量<BR>  bstrFormat ── 数据格式Q可选值有a、A、i、I??1Q以0打头的数值Ş式,如果要求固定长度的编号如0001?002则非常有用)?BR>  CZQ当前结点的大写|马数字~号QformatIndex(childNumber(this),'I')</P> <P>22、formatNumber<BR>  含义Q以指定格式输出数倹{?BR>  语法QformatNumber(dblNumber, bstrFormat)<BR>  参数Q说明同formatNumberQ不同之处在于格式化的可以是数?BR>  CZQ对变量a的值格式化Z位小敎ͼformatNumber(a,'#.00')Q?/P> <P>23、hasChildNodes<BR>  含义Q如果结Ҏ子结点则q回trueQ?1Q,否则为falseQ?Q?BR>  语法QpNode.hasChildNodes()<BR>  注意Q与此前介绍的函C同,此函数后必须带一个空括号?BR>  CZQ判断当前结Ҏ否有子结点:this.hasChildNodes</P> <P>24、namespaceURI、prefix<BR>  含义Q返回结点名字空间的全局资源标识W(或前~Q?BR>  语法QpNode.namespaceURI     pNode.prifix</P> <P>25、nextSibling、previousSibling、parentNode<BR>  含义Q返回结点的下一个兄弟(或前一个兄弟、或l点的父l点Q?BR>  语法QpNode.nextSibling  pNode.previousSibling  pNode.parentNode<BR>  注意Q对根结点(?/"Q应用parentNodeҎ、对W一个孩子结点应用previousSiblingҎ、对最后一个孩子结点应用nextSiblingҎ均会D错误Q可通过此过关系q算W?=Q等于)?=Q不{于Q来判断一个结Ҏ否某一指定l点Q格式ؓpNode1 = pNode2或pNode2 != pNode2?BR>  十四、nodeName<BR>  含义Q返回元素、属性、入口的名字或其他类型结点的一个特定字W串?BR>  语法QpNode.nodeName<BR>  CZQ当前结点的名字Qthis.nodeName</P> <P>26、nodeType、NodeTypeString<BR>  含义Q返回结点的cd的数值Ş式(或字W串形式Q?BR>  语法QpNode.nodeType ?pNode.nodeTypeString<BR>  q回|<BR>  l点cd             l点cd?nbsp;       l点的字WŞ式描q?<BR>  Element                   1               'element' <BR>  Element Attribute         2               'attribute' <BR>  Markup-Delimited      3 <BR>  Region of Text                'text' <BR>  Processing Instruction    7           'processing_instruction' <BR>  Comment                   8                'comment' <BR>  Document Entity           9                'document' </P> <P>27、nodeTypedValue<BR>  含义Q以l点预定义的数据cdq回l点的倹{?BR>  语法QpNode.nodeTypedValue<BR>  CZQ假定当前结点的数据cd是fixed.14.4Q下例将以数D回结点的|而不是文本一个字W串Q?BR>  this.nodeTypedValue</P> <P>28、nodeValue<BR>  含义Q返回结点的文本?BR>  语法QpNode.nodeValue<BR>  注意Q该Ҏ不用于元素类l点Q可用于属性、CDATA、注释、文本等l点?BR>  CZQ当前元素第一个属性的|this.attributes(0).nodeValue<BR>  当前元素内的文本Q假定该元素内只有文本,无其它元素,?lt;mark>text</mark>Q徏议多几ơ掌握其切的用法)?BR>  this.firstChild.nodeValue</P> <P>29、ownerDocument<BR>  含义Q返回包含该l点的文档的栏V?BR>  语法QpNode.ownerDocument<BR>  注意Q该Ҏ用于文档的根l点出错?/P> <P>30、selectNodes<BR>  含义Q给定的样式匚w应用于当前结点ƈq回匚w的结炚w合?BR>  语法QpNode.selectNodes('pattern')<BR>  提示Qpattern的编写与<xsl:for-each>的select属性的值类|其中?/"开头表CZ文档的根出发搜烦Q以"http://"开头表遍历文档的所有结点;?.."开头表CZ当前l点的父l点开始;如果Ʋ从当前l点向下搜烦则不能有以上Ҏ字符打头?BR>  CZQ与当前l点同名的元素在其父元素内的个数Q?BR>  childNumber(this.selectNodes("../"+this.nodeName+"[end()]").item(0))<BR>  当前元素内名字ؓ"skill"的元素的个数Q?BR>  childNumber(this.selectNodes("skill[end()]").item(0))</P> <P>31、selectSingleNode<BR>  含义Q与selectNodescMQ不同的只返回匹配的W一个结炏V而不是结炚w合?BR>  语法QpNode.selectSingleNode('pattern')<BR>  CZQ与当前l点同名的元素在其父元素内的个数Q?BR>     childNumber(this.selectSingleNode("../"+this.nodeName+"[end()]"))<BR>  当前元素内名字ؓ"skill"的元素的个数Q?BR>   childNumber(this.selectSingleNode("skill[end()]"))</P> <P>32、text<BR>  含义Q返回结点与它的子树内的文字内容?BR>  语法QpNode.text<BR>  CZQ整个文档内的文字内容:this.ownerDocument.text<BR>  当前元素及其子树的文字内容:this.text</P> <P>33、xml<BR>  含义Q返回结点及其后代的XML表示?BR>  语法QpNode.xml<BR>  CZQ当前文档的XML内容Qthis.ownerDocument.xml<BR>  另有几个函数不作介绍Q列于其下以供参考,如感兴趣Q请讉K<A >http://msdn.microsoft.com</A>获取详细说明?/P> <P>   formatTime(varTime, bstrFormat,varDestLocale) <BR>   formatDate(varDate, bstrFormat,varDestLocale)<BR>   apendChild(newChild)<BR>   definition<BR>   CloneNode<BR>   insertBefore(newChild, refChild)<BR>   parsed<BR>   removeChild(oldChild)<BR>   replaceChild(newChild, oldChild)<BR>   specified<BR>   transformNode(stylesheet)<BR>   transformNodeToObject(stylesheet,outputObject) <BR>   uniqueID(pNode) <BR><BR></P></FONT><img src ="http://www.aygfsteel.com/bibi/aggbug/20096.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/bibi/" target="_blank">g?/a> 2005-11-16 16:44 <a href="http://www.aygfsteel.com/bibi/archive/2005/11/16/20096.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>XSL 学习W记 —?基础?/title><link>http://www.aygfsteel.com/bibi/archive/2005/11/16/20026.html</link><dc:creator>g?/dc:creator><author>g?/author><pubDate>Wed, 16 Nov 2005 03:43:00 GMT</pubDate><guid>http://www.aygfsteel.com/bibi/archive/2005/11/16/20026.html</guid><wfw:comment>http://www.aygfsteel.com/bibi/comments/20026.html</wfw:comment><comments>http://www.aygfsteel.com/bibi/archive/2005/11/16/20026.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.aygfsteel.com/bibi/comments/commentRss/20026.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/bibi/services/trackbacks/20026.html</trackback:ping><description><![CDATA[<H3>什么是 XSLQ在什么情况下应该使用它?</H3> <P>XSL 之于 XML 像 CSS 之于 HTML。它是指可扩展样式表语言 (EXtensible Stylesheet Language)。这是一U用于以可读格式呈现 XML 数据的语a。XSL 实际上包含两个部分: </P> <UL> <LI>XSLT ?用于转换 XML 文档的语a <LI>XPath ?用于?XML 文档中导航的语言 </LI></UL> <P>XSLT 是指 XSL 转换 (XSL Transformation)Q它?XSL 最重要的部分?</P> <P>XSLT 可以?XML 文档转换为其?XML 文档、XHTML 输出或简单的文本。这通常是通过每?XML 元素转换?HTML 元素来完成的。由?XML 标签是用户定义的Q浏览器不知道如何解释或呈现每个标签Q因此必M?XSL。XML 标签的意义是Z方便用户Q而不是计机Q理解?/P> <P>XSLT q可以对 XML 树进行下列操作:</P> <UL> <LI>d和删除元? <LI>d和删除属? <LI>对元素进行重新排列或排序 <LI>隐藏或显C某些元? <LI>查找或选择特定元素 </LI></UL> <P> </P> <H4>XSL 是否?XML 相同Q?/H4> <P>既是又不是。说是,是因为它们遵循相同的语法规则Q只有少许差异,下面我将会讲刎ͼ。说不是Q是因ؓ它们的用途不同:XML 用于承蝲数据Q?XSL 则用于设|数据的格式。XSL 声明?XML 声明的不同之处在于,XML 声明只写一行,而且没有l束标签Q?XSL 声明必须包含l束标签?BR><BR></P> <H4>在什么情况下应该使用 XSLQ?/H4> <P>XSL 在设计时有几个目标用途,q些用途它成为某些开发情况下的完解x案,而对另一些开发情况则毫无用处?/P> <UL> <LI>XSL 专门用于处理 XML 文档Qƈ且遵?XML 语法。因此,它只能在支持 XML 的应用程序中?XML l合使用。最合适?XML ?XSL 的情冉|QWeb 门户、新闻聚合器、社区网站或其它M需要向各种讑֤及大量客L提供信息?Web 应用E序? <LI>XSLT 是一U基于模式匹配的语言。它会查扑֌配特定条件的节点Q然后应用相应的规则。因此,它不具备大多数编E语a的计能力。例如,XSL 无法在运行时更改变量的倹{它不应该用于从使用复杂公式的动态数据源Q例如在U商店)来计倹{Web ~程语言更适于此用途? <LI>XSL 不能代替或补?CSS。它不应Q也不能Q用于设|?HTML 的样式。但是,您可以将其用于需要频J重新设计可视化效果、频J更换布局以及以灵zL式处理数据的|站? <LI>XSL 不是内容理工具。它不应Q也不能Q用于更?XML 文档的内Ҏ者编辑信息。但是,您可以将 XML ?XSL 用于需要处理几U不同格式文档的内容理pȝ?</LI></UL> <H4>服务器端与客L</H4> <P>服务器端转换工作程如下图所C:<IMG height=381 alt=o_fig01.gif src="http://www.aygfsteel.com/images/blogjava_net/bibi/4653/o_fig01.gif" width=515 border=0><BR><BR>客户?XSL 转换的工作流E:<BR><IMG height=427 alt=o_fig02.gif src="http://www.aygfsteel.com/images/blogjava_net/bibi/4653/o_fig02.gif" width=254 border=0><BR><BR><BR></P> <H3>什么是 XPathQ?/H3> <P>XSL 使用 XPath 来标?XML 树中需要处理的各个元素?/P> <P>XPath 规范基本上遵循与文gpȝd相同的规则:</P> <UL> <LI>如果 XPath 表达式以斜杠 (/) 开_代表的是 XML 元素的绝对\径(?XML 文档的根开始)? <LI>如果 XPath 表达式以双斜?(//) 开_则会选择当前文档中符合指定条件的所有元素,而不考虑它们?XML 文档中的位置。例如,<CODE>//employee</CODE> 会查?XML 文档中的所有员工节炏V? <LI>星号 (*) 会选择由前面的路径定位的所?XML 元素。例如,<CODE>/company/department/*</CODE> 选择一个部门的所有子节点Q即该部门的所有员工? <LI>?(.) 选择当前的节点,两个?(..) 选择父节炏V例如,用于选择某个员工所在的部门?XPath 表达式就?<CODE>../employee</CODE>? <LI>要选择属性,请?<CODE>@</CODE> 字符。例如,<CODE>/company/department/employee[@retired]</CODE> 选择指定?<CODE>retired</CODE> 属性的所有员工?</LI></UL> <H4>qo目</H4> <P>使用 <CODE><xsl:for-each></CODE> 构造,您还可以Ҏ条gqo输出。假设您只想昄雇员中的E序员?/P> <div id="wmqeeuq" class=preWrapper><PRE><xsl:template match="/"> <table border="1"> <tr> <th>Name</th> <th>Job</th> <th>Salary</th> </tr> <xsl:for-each select="company/department/employee[job='Programmer']"> <tr> <td><xsl:value-of select="name"/></td> <td><xsl:value-of select="job"/></td> <td><xsl:value-of select="salary"/></td> </tr> </xsl:for-each> </table> </xsl:template> </PRE></DIV> <P>要定?XML 节点的条Ӟ可以使用下列Mq算W:</P> <UL> <LI>{于 (=) <LI>不等?(!=)例如Qname!='Ben Walker' <LI>于 (<)例如Qsalary<2750 <LI>于或等?(<=) <LI>大于 (>) <LI>大于或等?(>=) </LI></UL> <H4>寚w目进行排?/H4> <P>可以项目按字母序排列。只需使用 <CODE><xsl:sort /></CODE> 构造,q指定按哪个节点q行排序?CODE><xsl:sort /></CODE> 元素必须嵌套?<CODE><xsl:for-each></CODE> 元素中,以确保应用程序可以@环通过所有的目。用下面的代码可以按字母顺序显C员工:</P> <div id="wmqeeuq" class=preWrapper><PRE><xsl:template match="/"> <table border="1"> <tr> <th>Name</th> <th>Job</th> <th>Salary</th> </tr> <xsl:for-each select="company/department/employee"> <xsl:sort select="name" /> <tr> <td><xsl:value-of select="name"/></td> <td><xsl:value-of select="job"/></td> <td><xsl:value-of select="salary"/></td> </tr> </xsl:for-each> </table> </xsl:template> </PRE></DIV> <P>当然Q您只需?<CODE><xsl:sort /></CODE> 元素中额外添加一个属性,卛_方便地在升序和降序排列顺序之间切换:</P> <div id="wmqeeuq" class=preWrapper><PRE><xsl:sort select="/name" order="descending"/></PRE> <H4>单一条g和多个条?/H4> <P>在大多数语言中,XSL q能够根据条件显C内宏V?/P> <P>单一条g是用下面的语法定义的:</P> <div id="wmqeeuq" class=preWrapper><PRE><xsl:if test="表达?> </xsl:if></PRE></DIV> <P>要对多个目q行条g试Q以便只昄满该条件的目Q需要将 <CODE>xsl:if</CODE> 构造嵌套在 <CODE>xsl:for-each</CODE> 元素中。下面的CZ昄了如何只列出薪金高于 2700 元的员工Q?/P> <div id="wmqeeuq" class=preWrapper><PRE><xsl:template match="/"> <table border="1"> <tr> <th>Name</th> <th>Job</th> <th>Salary</th> </tr> <xsl:for-each select="company/department/employee"> <xsl:if test="salary &gt; 2700"> <tr> <td><xsl:value-of select="name"/></td> <td><xsl:value-of select="job"/></td> <td><xsl:value-of select="salary"/></td> </tr> </xsl:if> </xsl:for-each> </table> </xsl:template> </PRE></DIV> <P>h意,于 (<) 和大?(>) W号由它们相应的 HTML 转义序列Q?amp;lt ?&gtQ代ѝ否则,它们很容易与标签的开头和l尾h?nbsp;   <BR></P> <P>在测试表辑ּ中可以用常用的条gq算W:</P> <UL> <LI>&ltQ小于) <LI>&gtQ大于) <LI>=Q等于) <LI>!=Q不{于Q?</LI></UL> <P>如果需要将某个g某个字符串进行比较,则要字W串攑֜单引号中Q例?<CODE><xsl:if test="job = 'Software Analyst'"></CODE>Q?BR><BR></P> <P>象大多数~程语言中的 IF-ELSE 构造一P您还可以定义更复杂的条g。所使用的语法一看就能明白:</P> <div id="wmqeeuq" class=preWrapper><PRE><xsl:choose> <xsl:when test="<EM>表达?/EM>"> </xsl:when> <xsl:otherwise> </xsl:otherwise> </xsl:choose></PRE></DIV> <P>Z在多?XML 节点上测试条Ӟ<CODE><xsl:choose></CODE> 构造必d套在 <CODE><xsl:for-each></CODE> 循环中?/P> <P>假设您要以绿色高亮显C金低?2700 元的所有员工,以蓝色高亮显C金高?2700 元的所有员工:</P> <div id="wmqeeuq" class=preWrapper><PRE><xsl:template match="/"> <table border="1"> <tr> <th>Name</th> <th>Job</th> <th>Salary</th> </tr> <xsl:for-each select="company/department/employee"> <xsl:choose> <xsl:when test="salary > 2700"> <tr bgcolor="#66CCFF"> <td><xsl:value-of select="name"/></td> <td><xsl:value-of select="job"/></td> <td><xsl:value-of select="salary"/></td> </tr> </xsl:when> <xsl:otherwise> <tr bgcolor="#00CC99"> <td><xsl:value-of select="name"/></td> <td><xsl:value-of select="job"/></td> <td><xsl:value-of select="salary"/></td> </tr> </xsl:otherwise> </xsl:choose> </xsl:for-each> </table> </xsl:template> </PRE></DIV> <P><CODE><xsl:otherwise></CODE> 元素指定的是?XML 节点不满_始测试条件时默认应用的规则?/P></DIV><img src ="http://www.aygfsteel.com/bibi/aggbug/20026.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/bibi/" target="_blank">g?/a> 2005-11-16 11:43 <a href="http://www.aygfsteel.com/bibi/archive/2005/11/16/20026.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <a href="http://www.aygfsteel.com/" title="狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频">狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频</a> </div> </footer> վ֩ģ壺 <a href="http://" target="_blank">ľ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">౱</a>| <a href="http://" target="_blank">Ҿ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">߰</a>| <a href="http://" target="_blank">°</a>| <a href="http://" target="_blank">¤</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">Ȫ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">㰲</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">׿</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">غ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">״</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">̽</a>| <a href="http://" target="_blank">ɽ</a>| <a href="http://" target="_blank">ʳ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">״</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ƽ</a>| <a href="http://" target="_blank">ͭɽ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">Ӷ</a>| <a href="http://" target="_blank">п</a>| <a href="http://" target="_blank">ϰ</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>