最新标注
热门标注
历史更新
站点地图
RSS
Home
CrazyCoder
»
原创
»
it评论
»
it业界
»
互联网
»
精品软件
开发语言
»
网络编程
编程综合
嵌入式开发
算法
英文资料
汇编语言
PowerBuilder
p2p技术
验证码识别
DotNet
Java教程
C语言教程
C 教程
Delphi教程
VB教程
QQ协议开发
项目管理
»
数据库
»
Web开发
»
Python
Css教程
XML教程
网页特效
PhotoShop教程
Illustrator教程
CorelDraw教程
Ruby教程
CorelDraw教程
网站安全
开发平台-工具
Web
PHP教程
Flash教程
Ajax教程
Javascript教程
Html教程
Dreamweaver
Asp教程
技术综合
»
软件测试
办公软件
QQ相关
Windows
网络技术
游戏开发
软件工程
软件教程
编程思想
游戏开发
外挂开发
OpenApi
AutoCad
广告设计
3D设计
平面设计相关
移动手机开发
服务器
»
Linux
Unix/FreeBsd
web服务器
服务器技术
安全
博文摘选
»
翻译
首页
»
博文摘选
» format,XSL基础: call-template,apply-templates,xsl:param,with-param,number format 用法
Rss订阅
format,XSL基础: call-template,apply-templates,xsl:param,with-param,number format 用法
on 2011-4-10
in
博文摘选
|
0 Comment
最后结果:
XML
<?xml version='1.0'?> <?xml-stylesheet type="text/xsl" href="C8.xslt"?> <lists> <ol> <li>the</li> <li>cat</li> <ol> <li>sat</li> <li>on</li> <li>the</li> </ol> <li>mat</li> </ol> </lists>
XSL
<?xml version='1.0'?> <?xml-stylesheet type="text/xsl" href="paramelem.xsl"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format"> <!--匹配XML Document中的 ol/li mark--> <xsl:template match="ol/li"> <br/> <!--Invoke template--> <xsl:call-template name="number-block"> </xsl:call-template> </xsl:template> <xsl:template match="ol//ol/li"> <br/> <xsl:call-template name="number-block"> <!--Pass param to template--> <xsl:with-param name="format">a.</xsl:with-param> </xsl:call-template> </xsl:template> <!--Declare template named number-block--> <xsl:template name="number-block"> <!--Declare a para named format --> <xsl:param name="format">1. </xsl:param> <fo:block> <xsl:number format ="{$format}"/> <!--Apply template--> <xsl:apply-templates></xsl:apply-templates> </fo:block> </xsl:template> </xsl:stylesheet>
Tags:
format
延伸阅读
2010-12-5
--
format,bmp format
2009-2-12
--
delphiformat函数:Format函数
最新评论
发表评论
昵称
评论
验证码
点击图片更换
赞助商广告
随机更新
proxy代理:Java基础之Proxy模式(静态代理)
相对路径:RFT中的相对路径
dwr使用:java中DWR的使用方法
j2eeapi:J2EE 的结构
session:Session 接口 Session 接口知识了解
java游戏:JAVA面板
j2ee服务器:不需要应用服务器的J2EE(8)
java多线程:Java 多线程的Thread类和Runnable接口
怎样让系统更安全:Excelsior JET 6.4: 更小、更快、更安全的Java
传递函数:在idl文件中修改将要传递参数的函数
j2ee学习:J2EE学习经验和流程
Spring中事务的传播属性详解
java工作流:JAVA工作流之收回
php6下载:PHP6安装方法
j2ee架构:开发J2EE应用应结合商业需求选择合理的架构
javajar:java動態調用的範例(包括class/jar)
税收基础介绍:IoC基础介绍
iis6.0:IIS6.0下配置MySQL+PHP5+Zend+phpMyAdmin
j2ee开发:开发J2EE应用应注重测试工作
Spring MVC与struts比较
ejb实例:简单的EJB-Session Bean实例
crud操作:PHP的CRUD操作类
j2ee服务器:不需要应用服务器的J2EE(5)
proxy代理:Java基础之Proxy模式(动态代理)
经常犯困:经常犯的十大错误列表
标签在for循环中的使用
j2ee服务器:不需要应用服务器的J2EE(6)
Java基础之Composite模式
try,catch和finally语句
acegi:JSF与Acegi安全系统结合使用
热门标注
长板凳计划
(1)
智能汽车电影
(1)
社会化网络媒体
(1)
pk500
(1)
mfc添加函数
(1)
休斯顿pk500
(1)
智能汽车
(1)
lgpk500
(1)
谷歌价值
(1)
添加成员函数
(1)
城市化进程加快
(1)
加快进程
(1)
微软漏洞补丁下载
(1)
华为任正非简介
(1)
华为任正非女儿
(1)
任正非华为股份
(1)
华为总裁任正非
(1)
2011薪资
(2)
2011年薪资
(2)
中永office
(1)
最近更新
c语言学习步骤,学习一门新语言的基本步骤和方法
独特的头像,25幅独特的字符头像艺术作品欣赏
隐儿求职面试记,记在《面试@Taobao》后
算法导论,《算法导论》学习总结 — 8.第八章(2) 计数排序 && 基数排序 && 桶排序
swing第一刀,Swing 边框(一)
程序员是做什么的,谁做了程序员眼中的程序员
windows7,windows7环境下驱动程序开发环境搭建(VS2008+WDK)
mvc控件,MVC 3.0 分页控件
项目资金使用计划,NVelocity在项目中的使用
医院信息化建设,体验某医院的信息化应用
开发入行真功夫,如何入行Android开发
TCP/IP之六:路由表与IP选路
面向对象编程,《.NET4.0 面向对象编程漫谈》读书笔记 ——第2章 数据类型趣谈
zoundry,Zoundry 写博客
网页作品欣赏,25个很酷的Flash网页设计作品欣赏
【贪吃蛇—Java程序员写Android游戏】系列 4.用Google SVN管理开源的Android项目
vimrc设置,Vimrc个人设置
as3数据库,AS3连接MYSQL数据库
TCP/IP之五:traceroute程序
wcf关闭连接,明确的说WCF需要及时关闭
最新标注
安装压缩包
(1)
zip压缩包加密
(1)
解zip压缩包
(1)
软件工程职业
(1)
软件工程职业学院
(1)
网页设计
(1)
网页代理
(1)
网页qq
(1)
网页游戏
(1)
系要听roll
(1)
系要听
(1)
vb2005下载
(1)
战略成本管理
(1)
财务成本管理
(1)
成本管理范围
(1)
ie10和ie9
(1)
ie9ie10
(1)
win7盗版激活
(1)
核泄漏的影响
(1)
日本核泄漏
(1)
最新评论