Glossary

NEWS & TIPS

  • Site Access Keys
  • Top: Alt+t
    Previous: Alt+,
    Next: Alt+.
    Up: Alt+;
    (Note: use Ctrl on the Mac)

XSL Stylesheet

icon An XSL Stylesheet is written with a set of rules defined by the eXtensible Stylesheet Language, and is used to transform data from an XML document into an XML document that can be presented in some meaningful manner.

In Cascade Server, XSL stylesheets are assigned to specific regions on a page along with a block (XML, XML Feed, or Index) to style the XML content from the block in a manner appropriate for that page. By using different stylesheets on different pages, the same XML content can be customized for multiple purposes.

XSL stylesheets can also be assigned to the default region of pages using structured data definitions. In such a case, the XSL stylesheet styles the user-supplied structured content in a way that is meaningful for that page.

Example XML document:

By applying the following stylesheet to the XML document above, an HTML/XHTML page will be created with the heading "Book library:" A table will be created on this page where each row represents a book from the XML document. For each row, the first column will display the book's title, the second column will display the book's author, and the third row will display the book's isbn.

See Also

Last modified on Wed, 06 Aug 2008 11:10:10 -0400

Topic Feedback Form

Content Rating:
Email:
Feedback:


Top / Previous / Next / Up / Table of Contents