- 1、本文档共25页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
October 12, 2000.ppt
XSLT Overview What is XSLT? Related Recommendations XSLT Elements Associating Stylesheets with Documents Additional Information What is XSLT? A language for transforming XML documents into other XML documents Designed for use both as part of XSL and independently of XSL Not intended as a completely general-purpose XML transformation language. [W3C XSLT Recommendation] XSLT Process XSLT Status W3C Recommendation - November 16, 1999 Version 1.0 Related Recommendations XPath XSL XML Stylesheet Recommendation XSLT Stylesheet Element stylesheet version = “1.0” transform allowed as synonym XSLT Template Element templatematch = expression name = name priority = number mode = name Applying Templates apply-templatesselect = expression mode = name call-template name = name Example 1 Example 2 Repetition for-eachselect = “item” Do something here ... /for-each Example 3 Conditional Processing if test = “position()=last()” Do something … /if Conditional Processing choose when test = “position()=last()” Do something for last element /when when test = “position()=first()” Do something for first element /when otherwise Do something for other elements /otherwise /choose Creating the result tree value-of select=expression element name=string attribute name=string processing-instruction name=string comment text Numbering numbercount = pattern from = pattern value = number-expression format = string/ Combining Stylesheets include href = uri / import href = uri / Some Other Elements copy copy-of sort select=“expression” variable param output Associating Stylesheets with Documents W3C Stylesheets Recommendation Version 1.0 In the xml document: ?xml-stylesheet href=uri type=“text/xsl”? Additional Information XSLT Recommendation Version 1.0 - /TR/xslt XSLT.com - XSLT Reference - /xxl/XSLTreference/Output/index.html match - Xpath expression that identifies the node or nodes to which the rule applies. required un
您可能关注的文档
- Freestone International Group Limited.ppt
- Frito-Lay, Inc..ppt
- From DNA to ProteinChapt. 12.ppt
- From Fibonacci and Base-12 Factors to Brent Factors.ppt
- From the Breast to the BabyAnatomy and Physiology.ppt
- Fun, Oh Boy, Fun. You Could Die from It.ppt
- Gene Regulation Section 12–5.ppt
- General Cultural Themes of mali.ppt
- Geog 100Themes in World Geography.ppt
- Gifted and Talented Mathematics K-12 Program.ppt
- Offcie 2000技巧篇之word的技巧介绍.ppt
- Oracle Assets Release 12 Enhancements.ppt
- outline概要-hku libraries-Topic 2 Planning for Research Librari.ppt
- Overview of Automobile Coverages.ppt
- Overview of GCAP Project October 12, 2007Harvard University.ppt
- Part One.ppt
- Passive voice.ppt
- pc-公司财务.ppt
- PEP6 Unit4 What are you doingPart A Let's learn.ppt
- Physics 207, Sept. 12, The inclined plane and unit conversion.ppt
文档评论(0)