Top Banner
Advanced XSL Concepts Transforming External Data Sources Vinit Varghese Implementation Manager, OmniUpdate
11

Advanced XSL Concepts Transforming External Data Sources Vinit Varghese Implementation Manager, OmniUpdate.

Jan 15, 2016

Download

Documents

Alfred Osborne
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Advanced XSL Concepts Transforming External Data Sources Vinit Varghese Implementation Manager, OmniUpdate.

Advanced XSL Concepts Transforming External Data Sources

Vinit VargheseImplementation Manager, OmniUpdate

Page 2: Advanced XSL Concepts Transforming External Data Sources Vinit Varghese Implementation Manager, OmniUpdate.

Agenda

OU Campus Page Templates & PCFxsl:docxsl:unparsed-textInjecting ParametersUse CaseQ&A

Page 3: Advanced XSL Concepts Transforming External Data Sources Vinit Varghese Implementation Manager, OmniUpdate.

Template StructurePRODUCTION

STAGING

Page 4: Advanced XSL Concepts Transforming External Data Sources Vinit Varghese Implementation Manager, OmniUpdate.

EXtensible Stylesheet Language(XSL)

Page 5: Advanced XSL Concepts Transforming External Data Sources Vinit Varghese Implementation Manager, OmniUpdate.

xsl:docdoc(href)

<xsl:template match="/"><xsl:copy-of

select=”doc(‘http://example.com/sample.xml’)”/></xsl:template>

Attribute – href(mandatory): The URI used to locate the document to be loaded and has to be valid XML.

Page 6: Advanced XSL Concepts Transforming External Data Sources Vinit Varghese Implementation Manager, OmniUpdate.

xsl:unparsed-textunparsed-text(href)

<xsl:template match="/"><xsl:copy-of

select=”unparsed-text(‘http://example.com/sample.csv’)”/></xsl:template>

Attribute – href(mandatory): The URI used to locate the document to be loaded.

Page 7: Advanced XSL Concepts Transforming External Data Sources Vinit Varghese Implementation Manager, OmniUpdate.

..more

• doc-available()- a way to avoid the errors returned by the fn:doc function if a document is not available.

• unparsed-text-available()- checks if an an external resource (for example, a file) is available

Page 8: Advanced XSL Concepts Transforming External Data Sources Vinit Varghese Implementation Manager, OmniUpdate.

Let’s Do It!

Page 9: Advanced XSL Concepts Transforming External Data Sources Vinit Varghese Implementation Manager, OmniUpdate.

Q&A

Page 10: Advanced XSL Concepts Transforming External Data Sources Vinit Varghese Implementation Manager, OmniUpdate.

Don’t forget to take our survey

outc15.com/surveys

Page 11: Advanced XSL Concepts Transforming External Data Sources Vinit Varghese Implementation Manager, OmniUpdate.

Thank you!