Contents: (Updated Mar. 24, 2001)
xsl1.ppt, xsl2.ppt, xsl3.ppt - tutorials on using XSLT/XPath.
Examples directory - this directory contains the examples
that are referenced in the tutorial.
Labs directory - this directory contains the labs. I strongly
recommend that you do them. During the tutorial I point out
when it is time to do a lab.
I have provided a number of DOS batch files (i.e., run-xalan.bat,
run-xt.bat, and run-saxon.bat) to make it easy for
you to transform your XML files. I have bundled in the apache[1]
xsl processor, xalan, so that you can execute the
batch files right out of the box! If you download James Clark's[2]
xsl processor, xt, then you will be able to use his
xsl processor. Also, if you download Michael Kay's[3] xsl
processor, saxon, then you will be able to use his
xsl processor.
Here's how to use the run-xalan.bat batch file. Suppose that you would
like to process FitnessCenter.xml using FitnessCenter.xsl in the
examples/html-example01 folder. This is what you do:
(a) Open a DOS window (click on Start, move the mouse over Programs,
select Command Prompt).
(b) Change directory to the html-example01 folder. Here's how to do that:
Suppose that when you open DOS it opens in c:\WINNT. To change
to the correct directory do this:
cd ..
cd xml-course\new-xsl\examples\html-example01
The cd (change directory) command is used for moving around in the
windows file system. The "cd .." means to move "up" one folder.
Running xalan:
(c) To use run-xalan.bat you need to provide three arguments: the
name of the xml file, the name of the xsl file, and the name of the
output file.
Type in this command:
run-xalan FitnessCenter.xml FitnessCenter.xsl FitnessCenter.html
If everything went correctly you should see this message:
---------------------------------------------------------
Running the XSL Processor, xalan, with the following specifications:
- XML File: FitnessCenter.xml
- XSL File: FitnessCenter.xsl
- Output File: FitnessCenter.html
---------------------------------------------------------
========= Parsing file:/C:\xml-course\new-xsl\examples\html-example01\FitnessCen
ter.xsl ==========
Parse of file:/C:\xml-course\new-xsl\examples\html-example01\FitnessCenter.xsl t
ook 1172 milliseconds
========= Parsing file:/C:\xml-course\new-xsl\examples\html-example01\FitnessCen
ter.xml ==========
Parse of file:/C:\xml-course\new-xsl\examples\html-example01\FitnessCenter.xml t
ook 120 milliseconds
=============================
Transforming...
transform took 50 milliseconds
XSLProcessor: done
I hope that you find this helpful. I am always trying to improve
this material. If you find a bug or have suggestions on how to
improve it, please send me email.
Roger L. Costello
email: costello@xfront.com
Mar. 24, 2001
[1] http://www.apache.com
[2] http://www.jclark.com
[3] http://users.iclway.co.uk/mhkay/saxon/instant.html
没有合适的资源?快使用搜索试试~ 我知道了~
xsl 基础学习带原代码的
共573个文件
bat:228个
xml:126个
xsl:103个
需积分: 10 0 下载量 68 浏览量
2008-11-19
15:53:08
上传
评论
收藏 686KB ZIP 举报
温馨提示
很不错的资源 找了很久的 积分不多的 一个足以
资源详情
资源评论
资源推荐
收起资源包目录
xsl 基础学习带原代码的 (573个子文件)
distribute.bat 5KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run-xalan.bat 3KB
run.bat 3KB
run-xalan.bat 2KB
run-xalan.bat 2KB
run-xalan2.bat 2KB
run-xalan.bat 2KB
run-xalan.bat 2KB
run-xalan.bat 2KB
run-xalan.bat 2KB
run-xt.bat 2KB
run-xt.bat 2KB
run-xt.bat 2KB
run-xt.bat 2KB
run-xt.bat 2KB
run-xt.bat 2KB
run-xt.bat 2KB
run-xt.bat 2KB
run-xt.bat 2KB
run-xt.bat 2KB
run-xt.bat 2KB
run-xt.bat 2KB
run-xt.bat 2KB
run-xt.bat 2KB
run-xt.bat 2KB
run-xt.bat 2KB
run-xt.bat 2KB
run-xt.bat 2KB
run-xt.bat 2KB
run-xt.bat 2KB
run-xt.bat 2KB
run-xt.bat 2KB
run-xt.bat 2KB
run-xt.bat 2KB
run-xt.bat 2KB
run-xt.bat 2KB
run-xt.bat 2KB
run-xt.bat 2KB
共 573 条
- 1
- 2
- 3
- 4
- 5
- 6
bfsjjbb
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0