• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
XSLT: What Is It and Why Use It?
 

XSLT: What Is It and Why Use It?

on

  • 17,196 views

Penn State Web Conference 2007

Penn State Web Conference 2007

Statistics

Views

Total Views
17,196
Views on SlideShare
17,133
Embed Views
63

Actions

Likes
4
Downloads
0
Comments
1

6 Embeds 63

http://www.slideshare.net 36
http://onwebdev.blogspot.com 10
http://xmletc.blogspot.ru 7
http://xmletc.blogspot.com 5
http://xmletc.blogspot.in 3
http://www.personal.psu.edu 2

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel

11 of 1 previous next

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
  • Very useful
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • Have personal space up as well as bookmarked spot for different formats. Don’t forget puzzles.

XSLT: What Is It and Why Use It? XSLT: What Is It and Why Use It? Presentation Transcript

  • XSLT: What Is It and Why Use It? Nikki Massaro Kauffman http://www.personal.psu.edu/lnm105
  • What do we know about CSS ( C ascading S tyle S heets)?
    • CSS allows us to separate content from presentation (to some degree).
    • Content lives in an HTML page.
    • Styles are defined in a separate CSS file.
    Content HTML CSS
  • XSLT is e X tensible S tylesheet L anguage T ransformations.
    • It separates data from formatting.
    • Data lives as XML.
    • Formatting defined by XSL.
    • Resulting XHTML viewed in the browser.
    Data XHTML XSL XML
  • What is Client-Side XSLT?
    • XHTML Page references XSL and XML documents.
    • Transformation is done by browser.
    • XSL can be cached and reused. Only XML data is downloaded with each request.
    • XML data is faster to download than XHTML page.
  • What is Server-Side XSLT?
    • Transformation happens on the server, so browser only ever accesses the resulting XHTML.
    • Results are consistent across browsers.
    • XSLT can be used to present data in a number of file formats…
  • Why use XSLT?
    • XSLT allows you to take the same XML data set and apply different…
    • Filters
    • Presentations
    • Formats
    • … depending on your audience.
  • Why use XSLT? Filters
    • XSLT allows you to filter and sort the XML data for the needs of the various audiences:
    • Use same XML for page data.
    • Use multiple XSL templates based on audience.
  • Why use XSLT? Presentations
    • XSLT can be used to take the separation of content and presentation further than CSS:
    • Use XML for page data.
    • Use CSS for Styles.
    • Use XSL to build an XHTML page that links to CSS and that creates the divs identified in the CSS.
  • Why use XSLT? Formats
    • The same XML source data can be transformed into multiple file formats using XSL templates...
  • Creative Uses of XSLT
    • Customizable CSS files.
    • Custom DWT files (Dreamweaver templates)
    • Automated .htaccess and .htgroup files.