-- 作者:无双公子
-- 发布时间:4/21/2004 1:36:00 PM
-- [分享][下载]O'Reilly_XSLT@pdf(上传成功)
Publisher: O'Reilly & Associates; 1 edition (August 15, 2001) Author: Doug Tidwell Description XSLT documents a core technology for processing XML. Originally created for page layout, XSLT (Extensible Stylesheet Transformations) is now much more: a general-purpose translation tool, a system for reorganizing document content, and a way to generate multiple results-- such as HTML, WAP, and SVG--from the same content. What sets XSLT apart from other books on this critical tool is the depth of detail and breadth of knowledge that Doug Tidwell, a developer with years of XSLT experience, brings to his concise treatment of the many talents of XSLT. He covers XSLT and XPath, a critical companion standard, and addresses topics ranging from basic transformations to complex sorting and linking. He explores extension functions on a variety of different XSLT processors and shows ways to combine multiple documents using XSLT. Code examples add a real-world dimension to each technique. Useful as XSLT is, its peculiar characteristics make it difficult to get started in, and the ability to use advanced techniques depends on a clear and exact understanding of how XSLT templates work and interact. For instance, the understanding of "variables" in XSLT is deeply different from the understanding of "variables" in procedural languages. The author explains XSLT by building from the basics to its more complex and powerful possibilities, so that whether you're just starting out in XSLT or looking for advanced techniques, you'll find the level of information you need. Preface Organization of This Book The heart of this book is designed to take you through the basics of XSLT and help you solve problems with this exciting new technology. It contains the following chapters: Chapter 1, Getting Started Covers the basics of XML and discusses how to install the Xalan stylesheet engine. Chapter 2, The Obligatory Hello World Example Takes a look at an XML-tagged "Hello World" document, then examines stylesheets that transform it into other things. Chapter 3, XPath: A Syntax for Describing Needles and Haystacks Covers the basics of XPath, the language used to describe parts of an XML document. Chapter 4, Branching and Control Elements Discusses the logic elements of XSLT (<xsl:if> and <xsl:choose>) and how they work. Chapter 5, Creating Links and Cross-References Covers the different ways to build links between elements in XML documents. Using XPath to describe relationships between related elements is also covered. Chapter 6, Sorting and Grouping Elements Goes over the <xsl:sort> element and discusses various ways to sort elements in an XML document. It also talks about how to do grouping with various XSLT elements and functions. Chapter 7, Combining XML Documents Discusses the document() function, which allows you to combine several XML documents, then write a stylesheet that works against the collection of documents. Chapter 8, Extending XSLT Explains how you can write extension elements and extension functions. Although XSLT and XPath are extremely powerful and flexible, there are still times when you need to do something that isn't provided by the language itself. Chapter 9, Case Study: The Toot-O-Matic Goes through a complicated case study that puts XSLT through its paces. The chapter reviews the Toot-O-Matic, an XSLT tool that generates a wide range of output documents from a single file. The last section of the book contains reference information: Appendix A, XSLT Reference An alphabetical listing of all the elements defined by XSLT, with a discussion of all attributes of those elements and how they were designed to be used. Appendix B, XPath Reference A listing of various aspects of XPath, including datatypes, axes, node types, and operators. XSLT page 3 Appendix C, XSLT and XPath Function Reference An alphabetical listing of all the functions defined by XPath and XSLT. Appendix D, XSLT Guide A series of "How do I...?" questions, with brief examples and/or references to sections of the book that explain how to do common tasks. Glossary A glossary of terms used in XSLT, XPath, and XML in general. 下载链接为: http://bbs.xml.org.cn/temp/oreillyxslt.rar 如果链接不可用,请在http://bbs.xml.org.cn/resource.asp中找最新的链接. [此贴子已经被作者于2004-4-21 19:05:28编辑过][/align] [此贴子已经被admin于2004-4-22 0:43:47编辑过]
|