This section includes information for using XML and XSL within the context of OU Campus. Pages include overview topics, reference and tutorials regarding specific usages of XSL elements, XPath, conditional statements, transforming content, and dynamic indexing.
Introduction to XML
XML (eXtensible Markup Language) is a configurable vehicle for any kind of information that can be used to store and organize data. Although the name may suggest XML to be a markup language, XML is not itself a markup language; it is a set of rules for building markup languages. Learn more: Introduction to XML.
Introduction to XSL
XSL (eXtensible Stylesheet Language) is a style sheet language for XML documents. Just like CSS is used to tell the browser how to display an element in a special design, font or color, XSL is used to describe how the XML document should be displayed (transformed). Learn more: Introduction to XSL.
Introduction to XPath
XPath (XML Path Language) is a language used to address parts of an XML document. XPath models an XML document as a tree and XPath locator syntax uses core functions based on the node hierarchy of a document, and evaluates expressions to determine a location object. Learn more: Introduction to XPath.
XSL functions allow developers to create stylesheet functions that can be called from any XPath expression used in the stylesheet. This topic provides the syntax for xsl:function and function examples. Learn more: XSL Functions.
Using XSL Conditional Statements and Recursions
XSLT allows different approaches to recursion. Examines the use of xsl:template (match) and xsl:for-each, developers to perform recursive tasks. Learn more: XSL Conditional Statements and Recursions.
Creating LDP Image Galleries in XSL
XSL can be utilized to create a new Image Gallery Asset as well as how to create additional outputs for the galleries in the XSL, where to place the corresponding files, and how to allow a desired selection of a gallery output for a particular page. Learn more: Creating LDP Image Galleries in XSL.
Using XSL to Transform Content
XSL can be used to transform content. Learn how to create a code snippet and have it transform its contents into a pre-styled or pre-structured HTML widget: Using XSL to Transform Content
Transforming External Data Sources Into XSL
XSL allows developers to fetch external documents to be parsed and processed to create new transformed content. There are two XSLT functions that allow developers to achieve this goal — xsl:doc and xsl:unparsed-text. Learn more: Transforming External Data Sources Into XSL
Dynamic Indexing with XSL
Using dynamic indexing involves taking pages with matching node structures (PCF files) and compiling the data into a faculty index page. This technique utilizes XSL to query each PCF file and obtain the information to display. Learn more: Dynamic Indexing with XSL.
IN THIS SECTION
- Advanced XSL
- Introduction to XML
- Introduction to XSL
- XSL Elements Reference
- Introduction to XPath
- System Defined XPath Functions
- XSL Function
- OU Campus XSLT Variables
- Using XSL Conditional Statements and Recursions
- Creating LDP Image Galleries in XSL
- Using XSL to Transform Content
- Transforming External Data Sources Into XSL
- Dynamic Indexing with XSL