EXTENDING COMPONENTS AND TABLE TRANSFORMATIONS WITH XSL

Slides:



Advertisements
Similar presentations
XML III. Learning Objectives Formatting XML Documents: Overview Using Cascading Style Sheets to format XML documents Using XSL to format XML documents.
Advertisements

Advanced XSLT II. Iteration in XSLT we sometimes wish to apply the same transform to a set of nodes we iterate through a node set the node set is defined.
Advanced XSLT. Branching in XSLT XSLT is functional programming –The program evaluates a function –The function transforms one structure into another.
Advanced XSLT II. Iteration in XSLT we sometimes wish to apply the same transform to a set of nodes we iterate through a node set the node set is defined.
WEB DESIGN TABLES, PAGE LAYOUT AND FORMS. Page Layout Page Layout is an important part of web design Why do you think your page layout is important?
1 XSLT – eXtensible Stylesheet Language Transformations Modified Slides from Dr. Sagiv.
XSLT (eXtensible Stylesheet Language Transformation) 1.
XSL XSLT and XPath 11-Apr-17.
XSLT Stylesheets Some more advanced examples (adapted from the Edinburgh LT site)
Week 23 - Revision1 Week 23 Revision DSA. Week 23 - Revision2 Agenda Section A: Multiple choice Section B: Problem-oriented questions Topics for revision.
September 15, 2003Houssam Haitof1 XSL Transformation Houssam Haitof.
Understanding Page Template Components Lila Bronson Training Manager, OmniUpdate, Inc.
Creating New Page and Section Templates Robert Kiffe Senior Web Developer, OmniUpdate, Inc.
17 Apr 2002 XML Stylesheets Andy Clark. What Is It? Extensible Stylesheet Language (XSL) Language for document transformation – Transformation (XSLT)
ECA 228 Internet/Intranet Design I Intro to XSL. ECA 228 Internet/Intranet Design I XSL basics W3C standards for stylesheets – CSS – XSL: Extensible Markup.
Scottish Legal Aid Board Content Management using OpenCms Martin Spinks CTO Navyblue Tuesday, March 16, 2010.
OU Campus Intermediate Training Workshop. Agenda Administrator Overview and Roles Administrator Controls Administrator Configuration Setting Up Access.
IS432 Semi-Structured Data Lecture 5: XSLT Dr. Gamal Al-Shorbagy.
Comparing XSLT and XQuery Michael Kay XTech 2005.
Introduction technology XSL. 04/11/2005 Script of the presentation Introduction the XSL The XSL standard Tools for edition of codes XSL Necessary resources.
XP New Perspectives on XML Tutorial 6 1 TUTORIAL 6 XSLT Tutorial – Carey ISBN
CIS 451: XSL Dr. Ralph Westfall February, Problems With XML no formatting capabilities contra formatting tags like, etc. in HTML CSS can be used.
WORKING WITH XSLT AND XPATH
Session II Chapter 2 – Chapter 2 – XSLhttp://
DSpace UI Alexey Maslov. DSpace in general A digital library tool useful for storage, maintenance, and retrieval of digital documents Two types of interaction:
CITA 330 Section 6 XSLT. Transforming XML Documents to XHTML Documents XSLT is an XML dialect which is declared under namespace "
The Information School at the University of Washington INFO 440: Information System Design Fall 2003 * Bob Boiko * MSIM Associate Chair XML Transforms.
Transforming Documents „a how-to of transforming xml documents“ Lecture on Walter Kriha.
Presentation Topic: XML and ASP Presented by Yanzhi Zhang.
Creating Feeds for News, Events, and More Vinit Varghese Implementation Manager.
End-User Training Editing Content with JustEdit Brandon Scheirman Instructional Designer, OmniUpdate.
McGraw-Hill/Irwin © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Applying eXtensible Style Sheets (XSL) Ellen Pearlman Eileen Mullin Programming.
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.
XSLT: How Do We Use It? Nancy Hallberg Nikki Massaro Kauffman.
Querying XML, Part II Zachary G. Ives University of Pennsylvania CIS 455 / 555 – Internet and Web Systems February 5, 2008.
Chapter 29. Copyright 2003, Paradigm Publishing Inc. CHAPTER 29 BACKNEXTEND 29-2 LINKS TO OBJECTIVES Attach an XML Schema Attach an XML Schema Load XML.
XSLT? Where we are going, we don’t need XSLT.. About me French, SharePoint Developer and Food Lover Khoa Quach SharePoint Technologies MCTS, MCPD, MCSE.
XML Notes taken from w3schools. What is XML? XML stands for EXtensible Markup Language. XML was designed to store and transport data. XML was designed.
DEV103 – Web Part Transformers – More than meets the eye By: D’arce Hess.
1 XSLT XSLT (extensible stylesheet language – transforms ) is another language to process XML documents. Originally intended as a presentation language:
Presented by Michael Davis & Morgan Bibbs XML & XSL
Business rules.
Project Management: Messages
Displaying XML Data with XSLT
Using Access and the Web
Microsoft Office Illustrated
XML stands for Extensible Markup Language.
Rocketing into End-User Training
What’s a _resource and What Does It Do?
Customizing Editable Regions and Building Templates
Building Web Applications
Keeping it Current with RSS
Information Architecture in OU Campus
HTML 5 SEMANTIC ELEMENTS.
Querying XML XSLT.
LET’S GATHER THE DATA AKIFUMI YAMAMOTO| OMNIUPDATE.
MAKING XSL-PCF PAGES FROM SCRATCH
INTRODUCTION TO OU CAMPUS
EDITING EXISTING TEMPLATES
XSL 3.0 Showcase: New concepts for XSL used in OU Campus
COMPONENTS INSIDE AND OUT
3rd Party Widgets & Custom Code
RSS ARCHIVING: KEEPING IT CURRENT WITH RSS
XSL API for Tag Management
READY, SET, REPORT ROBERT KIFFE| OMNIUPDATE.
ASSETS, SNIPPETS & COMPONENTS
Unit 6 - XML Transformations
Presentation transcript:

EXTENDING COMPONENTS AND TABLE TRANSFORMATIONS WITH XSL ROBERT KIFFE| OMNIUPDATE

Agenda What’s the Problem? Introducing Components Table Transformations XSL Concepts Review 3-Step Strategy Hands-On Q&A

What’s the Problem Some design elements are too difficult to maintain directly in the WYSIWYG Example (from getbootstrap.com):

Introducing Components SOLUTION #1 Components provide a form-based method for entering content Produce complex HTML output without special scripts

Table Transformations SOLUTION #2 Tables provide a form-like method for storing content Tables are a robust element in the WYSIWYG and content reorganization is fairly easy Requires XSL to transform content into desired HTML output

Table Configurations Recreate a form Mirror output design OR SOME OTHER HTML ELEMENT Recreate a form Mirror output design Unlimited entries

The Power of XSL XML Page Content XSL XSL ~ server-side language EXTENDING CAPABILITIES FOR BOTH TABLES AND COMPONENTS XSL XSL ~ server-side language Traditionally used to convert XML data into another XML data structure Now used to convert XML to HTML Global Header Section Nav XML Page Content Global Footer

XSL: Overview XSL IS COMPRISED OF THREE MAIN XSLT the XML element instructions XSLT 3.0 Documentation XPath function library and data navigation XPath 3.0 Functions XPath Path Expressions (navigation) XQuery SQL-like script language for processing data Typically not used in our implementations Function Path Expression

XSL: Apply-Templates Core functionality of XSL TRANSFORMING CONTENT IN PLACE XML Core functionality of XSL Initiated by an “Apply-Templates” instruction Iterated content is captured by “Template Rules” that match the current iteration XSL

XSL: Apply-Templates MULTIPLE MATCHES XML More than one template rule can match any given item Follows basic ruleset: ‘Mode’ attribute must match XSL import precedence ‘Priority’ attribute value (Largest value goes first) ‘Match’ expression specificity (similar to CSS) XML XSL

XSL: Apply-Templates “COPYING” EDITABLE REGIONS XML Don’t use a “Copy-Of” instruction (Deep Copy) Use “Apply-Templates” (w/ Shallow Copy) Create template rules for transforming specific content “template-matches.xsl” “snippets.xsl” XSL

3-Step Solution OR LESS! Data Structure Component Form Builder Snippet (usually a Table) Example Output Code Component Source Code (And/Or) Template Match Update #2 with data/content from #1

Let’s Go Hands-On! Travel to http://workshop[#].outc18.com/index.html Replace [#] with the number on your badge Click the DirectEdit link Log in as the level 10 user! Username: admin Password: found on your badge

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