Book description
Provides the basic education in the XSLT processing model that developers have requested
The growth of XML content management applications is boosting the demand for XSLT and XPath skills. This beginning Wrox book provides a firm foundation in the XSLT processing model, giving developers an important skillset.
If, like many developers, you've had trouble grasping the XSLT processing model, you'll appreciate how this book focuses specifically on what you need to know. XSLT examples address the often-requested processing steps for typical XML document and data vocabularies. You will see exactly how XSLT relies on XPath, and how the processing model differs from most programming languages. A case study demonstrates how to build a static Web site using XSLT 2.0 elements and XPath 2.0 functions.
Explains XSLT and XPath, covering both version 1.0 and 2.0
Covers using templates, control and branching, variable and parameters, sorting and grouping, and using modular stylesheets
Also examines strings, dates, and numbers; working with multiple documents and text; generating identifiers; and testing and documentation
All topics contain incremental code examples
Addresses the much-requested processing steps for typical XML document and data vocabularies, including how the processing model differs from most programming languages
Beginning XSLT and XPath: Transforming XML Documents and Data is the essential guide you need to thoroughly understand the important XSLT processing model.
Note: CD-ROM/DVD and other supplementary materials are not included as part of eBook file.
Table of contents
- Copyright
- About the Author
- Credits
- Introduction
- 1. First Steps with XSLT
- 2. Introducing XPath
- 3. Templates, Variables, and Parameters
- 4. Using Logic
- 5. Sorting and Grouping
- 6. Strings, Numbers, Dates, and Times
- 7. Multiple Documents
- 8. Processing Text
- 9. Identifiers and Keys
- 10. Debugging, Validation, and Documentation
- 11. A Case Study
- A. Answers to Exercises
- B. Extending XSLT
- C. XSLT Processing Model
-
D. XSLT 2.0 Quick Reference
- D.1. Elements
-
D.2. XSLT Elements
- D.2.1. xsl:analyze-string
- D.2.2. xsl:apply-imports
- D.2.3. xsl:apply-templates
- D.2.4. xsl:attribute
- D.2.5. xsl:attribute-set
- D.2.6. xsl:call-template
- D.2.7. xsl:character-map
- D.2.8. xsl:choose
- D.2.9. xsl:comment
- D.2.10. xsl:copy
- D.2.11. xsl:copy-of
- D.2.12. xsl:decimal-format
- D.2.13. xsl:declaration
- D.2.14. xsl:document
- D.2.15. xsl:element
- D.2.16. xsl:fallback
- D.2.17. xsl:for-each
- D.2.18. xsl:for-each-group
- D.2.19. xsl:function
- D.2.20. xsl:if
- D.2.21. xsl:import
- D.2.22. xsl:import-schema
- D.2.23. xsl:include
- D.2.24. xsl:instruction
- D.2.25. xsl:key
- D.2.26. xsl:matching-substring
- D.2.27. xsl:message
- D.2.28. xsl:namespace
- D.2.29. xsl:namespace-alias
- D.2.30. xsl:next-match
- D.2.31. xsl:non-matching-substring
- D.2.32. xsl:number
- D.2.33. xsl:otherwise
- D.2.34. xsl:output
- D.2.35. xsl:output-character
- D.2.36. xsl:param
- D.2.37. xsl:perform-sort
- D.2.38. xsl:preserve-space
- D.2.39. xsl:processing-instruction
- D.2.40. xsl:result-document
- D.2.41. xsl:sequence
- D.2.42. xsl:sort
- D.2.43. xsl:strip-space
- D.2.44. xsl:stylesheet
- D.2.45. xsl:template
- D.2.46. xsl:text
- D.2.47. xsl:transform
- D.2.48. xsl:value-of
- D.2.49. xsl:variable
- D.2.50. xsl:with-param
- D.3. Attribute Groups
- D.4. Types
-
D.5. XSLT Functions
- D.5.1. current
- D.5.2. current-group
- D.5.3. current-grouping-key
- D.5.4. document
- D.5.5. element-available
- D.5.6. format-date, format-dateTime, format-time,
- D.5.7. format-number
- D.5.8. function-available
- D.5.9. generate-id
- D.5.10. key
- D.5.11. regex-group
- D.5.12. system-property
- D.5.13. type-available
- D.5.14. unparsed-text, unparsed-text-available
- D.5.15. unparsed-entity-public-id, unparsed-entity-uri
- E. XSLT 2.0 Schema
-
F. XPath 2.0 Function Reference
-
F.1. Functions
- F.1.1. abs
- F.1.2. avg
- F.1.3. adjust-date-to-timezone, adjust-dateTime-to-timezone, adjust-time-to-timezone
- F.1.4. base-uri
- F.1.5. boolean
- F.1.6. ceiling
- F.1.7. codepoint-equal
- F.1.8. codepoints-to-string
- F.1.9. collection
- F.1.10. compare
- F.1.11. concat
- F.1.12. count
- F.1.13. current-date, current-dateTime, current-time
- F.1.14. data
- F.1.15. dateTime
- F.1.16. day-from-date, day-from-dateTime
- F.1.17. days-from-duration
- F.1.18. deep-equal
- F.1.19. default-collation
- F.1.20. distinct-values
- F.1.21. doc, doc-available
- F.1.22. document-uri
- F.1.23. empty
- F.1.24. encode-for-uri
- F.1.25. ends-with
- F.1.26. error
- F.1.27. escape-html-uri
- F.1.28. exactly-one
- F.1.29. exists
- F.1.30. false
- F.1.31. floor
- F.1.32. hours-from-dateTime, hours-from-time
- F.1.33. id
- F.1.34. idref
- F.1.35. implicit-timezone
- F.1.36. index-of
- F.1.37. implicit-timezone
- F.1.38. in-scope-prefixes
- F.1.39. insert-before
- F.1.40. iri-to-uri
- F.1.41. lang
- F.1.42. last
- F.1.43. local-name
- F.1.44. local-name-from-QName
- F.1.45. lower-case
- F.1.46. matches
- F.1.47. max, min
- F.1.48. minutes-from-dateTime, minutes-from-time
- F.1.49. minutes-from-duration
- F.1.50. month-from-date, month-from-dateTime
- F.1.51. months-from-duration
- F.1.52. month-from-date, month-from-dateTime
- F.1.53. name
- F.1.54. namespace-uri
- F.1.55. namespace-uri-for-prefix
- F.1.56. namespace-uri-from-QName
- F.1.57. nilled
- F.1.58. normalize-unicode
- F.1.59. not
- F.1.60. number
- F.1.61. one-or-more
- F.1.62. position
- F.1.63. prefix-from-QName
- F.1.64. QName
- F.1.65. remove
- F.1.66. replace
- F.1.67. resolve-uri
- F.1.68. resolve-QName
- F.1.69. reverse
- F.1.70. root
- F.1.71. round
- F.1.72. round-half-to-even
- F.1.73. seconds-from-dateTime, seconds-from-time
- F.1.74. seconds-from-duration
- F.1.75. starts-with
- F.1.76. static-base-uri
- F.1.77. string
- F.1.78. string-join
- F.1.79. string-length
- F.1.80. string-to-codepoints
- F.1.81. subsequence
- F.1.82. substring
- F.1.83. substring-after
- F.1.84. substring-before
- F.1.85. sum
- F.1.86. timezone-from-date, timezone-from-dateTime, timezone-from-time
- F.1.87. tokenize
- F.1.88. trace
- F.1.89. translate
- F.1.90. true
- F.1.91. unordered
- F.1.92. upper-case
- F.1.93. year-from-date, year-from-dateTime
- F.1.94. years-from-duration
- F.1.95. zero-or-one
-
F.1. Functions
- G. References
- Glossary
Product information
- Title: Beginning XSLT and XPath: Transforming XML Documents and Data
- Author(s):
- Release date: September 2009
- Publisher(s): Wrox
- ISBN: 9780470477250
You might also like
book
XSLT and XPATH: A Guide to XML Transformations
Gain total control over your information with XSLT and XPath! Master XSLT and XPath—the "keys to …
book
XPath: Navigating XML with XPath 1.0 and 2.0 Kick Start
XPath is to XML as SQL is to databases: XML applications need XPath to locate specific …
book
Querying XML
XML has become the lingua franca for representing business data, for exchanging information between business partners …
book
Beginning XML with C# 7: XML Processing and Data Access for C# Developers
Master the basics of XML as well as the namespaces and objects you need to know …