XSL 3.0 Showcase: New concepts for XSL used in OU Campus

Slides:



Advertisements
Similar presentations
Advanced XSLT. Branching in XSLT XSLT is functional programming –The program evaluates a function –The function transforms one structure into another.
Advertisements

CG0119 Web Database Systems Parsing XML: using SimpleXML & XSLT.
In the top left corner of the page, click on Pages & Files. Click on the If Then Statements folder to select it. Click New – Create a Page. You can also.
XML: Managing Data Exchange Stylesheets. Lesson Contents CSS The basic XSL file XSL transforms Templates Sort Numbering Parameters and Variables Datatypes.
XSL Transformations (XSLT) Meghasyam Bokam April’1 st, 2002.
XSL Unit 6 November 2. XSL –eXtensible Stylesheet Language –Basically a stylesheet for XML documents XSL has three parts: –XSLT –XPath –XSL-FO.
17 Apr 2002 XML Stylesheets Andy Clark. What Is It? Extensible Stylesheet Language (XSL) Language for document transformation – Transformation (XSLT)
Implementing Forms and Form Renderers in the Open Source Portfolio David McPherson, Chris Maurer Will Trillich, Janice Smith Materials by Sean Keesler.
Chapter 3: Data Types and Operators JavaScript - Introductory.
1 Introduction  Extensible Markup Language (XML) –Uses tags to describe the structure of a document –Simplifies the process of sharing information –Extensible.
ITB Web programming for E- Commerce 1 ITB6227 Programming for E-COMMERCE Lecture Presentation of XML Documents.
1 Overview of XSL. 2 Outline We will use Roger Costello’s tutorial The purpose of this presentation is  To give a quick overview of XSL  To describe.
Building Faculty Directories, Profiles, and More with MultiEdit Robert Kiffe & Bradley Prasuhn Senior Web DeveloperImplementation Manager OmniUpdate, Inc.
 XSL – Extensible Style Sheet Language  XSLT – XSL Transformations › Used to transform XML documents to other formats,like HTML or other XML documents.
POWERS and ORDER of OPERATIONS PRE265 Parentheses (includes brackets) Exponents & Roots Multiplication & Division (left to right) Addition & Subtraction.
XSLT: How Do We Use It? Nancy Hallberg Nikki Massaro Kauffman.
CH 15 XSL Transformations 1. Objective What is XSL? Overview of XSL transformations Understanding XSL templates Computing the value of a node with xsl:value-of.
1 XSLT XSLT (extensible stylesheet language – transforms ) is another language to process XML documents. Originally intended as a presentation language:
Control Structures- Decisions. Smart Computers Computer programs can be written to make computers seem smart Making computers smart is based on decision.
Lesson 4 Basic Text Formatting. Objectives ● I ● In this tutorial we will: ● Introduce Wiki Syntax ● Learn how to Bold and Italicise text, and add Headings.
XSLT: The XML transformation language
Tips & Tricks with Multiple Skins
Introduction to Calculated Columns Variables, Conditionals, and String Manipulation PRESENTER: Cameron Blashka| Informer Implementation Specialist| April.
JavaScript, Sixth Edition
XML Introduction Bill Jerome.
Chapter 6 JavaScript: Introduction to Scripting
Displaying XML Data with XSLT
Using Proportions with Similar Polygons
Programming the Web Using Visual Studio .NET
Introduction to Scripting
ACG 4401 XSLT Extensible Stylesheet Language for Transformations
A standard way to simplify mathematical expressions and equations.
For example, how can you use exponents to write
For example, what would the value of this numerical expression be?
Increment and Decrement
What’s a _resource and What Does It Do?
The Administrator Training Adventure
The Adventure Continues
Customizing Editable Regions and Building Templates
Building Advanced Components with XSL
XML WITH CSS.
How to Get Your Pages to Publish to PDF
LearnZillion Notes: --This is your hook. Start with a question to draw the student in. We want that student saying, “huh, how do you do X?” Try to be specific.
Basic Components, Advanced Assets
Arithmetic Expressions & Data Conversions
Chapter 2 Variables.
LearnZillion Notes: --This is your hook. Start with a question to draw the student in. We want that student saying, “huh, how do you do X?” Try to be specific.
CS 431 – February 28, 2005 Carl Lagoze – Cornell University
WHAT IS XSLT?.
Unit 6 part 3 Test Javascript Test.
BUILDING A WEBSITE 7.4.2: Basics of HTML and CSS.
Objective: To analyze rhetoric
Which expression below is the expanded form of 54?
JavaScript: Introduction to Scripting
Session 3: Basic CSS Spring 2009
LearnZillion Notes: --This is your hook. Start with a question to draw the student in. We want that student saying, “huh, how do you do X?” Try to be specific.
More XML XML schema, XPATH, XSLT
LET’S GATHER THE DATA AKIFUMI YAMAMOTO| OMNIUPDATE.
MAKING XSL-PCF PAGES FROM SCRATCH
INTRODUCTION TO OU CAMPUS
EDITING EXISTING TEMPLATES
COMPONENTS INSIDE AND OUT
3rd Party Widgets & Custom Code
EXTENDING COMPONENTS AND TABLE TRANSFORMATIONS WITH XSL
ADVANCE FIND & REPLACE WITH REGULAR EXPRESSIONS
RSS ARCHIVING: KEEPING IT CURRENT WITH RSS
XSL API for Tag Management
I wonder…2 _ 1 2 ? LearnZillion Notes:
READY, SET, REPORT ROBERT KIFFE| OMNIUPDATE.
Arithmetic Expressions & Data Conversions
Presentation transcript:

XSL 3.0 Showcase: New concepts for XSL used in OU Campus CORY MADDEN| OMNIUPDATE

Agenda expand-text Function Chaining Concatenation Shorthand Hands-on xsl:mode idiv

expand-text May appear on any element in the XSL Only valid in XSL 3.0 Value can be “yes” or “no” Determines whether nodes below it will be treated similar to xsl:value-of Be careful when trying to output CSS / JavaScript when expand-text is set to “yes”

expand-text Examples Old New

Function Chaining Known as arrow operator Only valid in XSL 3.0 Using this will apply the function to the value of an expression, using the value as the first argument to the function Helps you stay organized with parentheses

Function Chaining Example Old New

Concatenation Shorthand A way to ”shorten” your concatenation statements Only valid in XSL 3.0 Good to use for short concatenation but sometimes is better to use the concat() Does cause confusion because it is “ || “ which is “or” in other programming languages

Concatenation Shorthand Example Old New

Hands-on Look in the /workshop-xsl-showcase/ folder in your given sandbox

xsl:mode A mode is a way to separate xsl:template-matches during xsl:apply-templates Only valid in XSL 3.0 Allows for easy way to define different modes Different types of copy effects We primarily use “shallow-copy” option Old way for defining modes was a bit complicated New way is one line!

xsl:mode Example Old New

idiv Stands for integer division Valid in XSL 3.0 and XSL 2.0 Great way to wrap every X element with wrapping HTML Shorthand for floor(Y div X)

idiv Example 0 idiv 4 = 0 1 idiv 4 = 0 2 idiv 4 = 0 3 idiv 4 = 0 etc...

Hands-on Look in the /workshop-xsl-showcase/ folder in your given sandbox

Questions & Answers

THANK YOU! PLEASE SHARE YOUR FEEDBACK: WWW.SLIDO.COM #OUTC19