Download presentation
Presentation is loading. Please wait.
Published byTracey Green Modified over 8 years ago
2
Module Road Map
3
Document Transformations Web Form (ASPX) HTML Form
4
The Structure of an XML Document - Trees and Nodes Need a good conceptual model of XML/XSLT Error reporting is poor Visual Studio debugger a big help
5
XML Tree Structure Viewed in the browser
6
Simple XSLT File (EXtensible Stylesheet Language Transformations)
7
Examples Title/LocalTitle 28 Days Later Title/IMDBrating 7.6 Title/Genres/Genre Action
8
xsl for each loop Notice how we reference the data
9
Keeping Track of the Context 28 Days Later 7.6 2002 Etc... Gives us
10
When the Context Changes Action Horror Sci-Fi Thriller. Gives us Losing track of the context is the source of most problems in XSLT!
11
Instructions and Literals Instruction(s) Literals Output document is a merging of the instructions and literals.
12
Templates Root template + others (Like sub main in C) (similar to a function)
13
Patterns The Root Pattern / Compare the two patterns below…
14
More Complex Patterns
15
Expressions Used to perform calculations on a node/data
16
Sorting Data in a Node The Key - a pattern that identifies the data The Order -may be ascending or descending.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.