Transforming External Data Sources Vinit Varghese Development - - PowerPoint PPT Presentation

transforming external data
SMART_READER_LITE
LIVE PREVIEW

Transforming External Data Sources Vinit Varghese Development - - PowerPoint PPT Presentation

Advanced XSL Concepts Transforming External Data Sources Vinit Varghese Development Manager, OmniUpdate Agenda OU Campus Page Templates & PCF xsl:doc xsl:unparsed-text Injecting Parameters Whats new in XSL 3.0 Use Case Q&A


slide-1
SLIDE 1

Advanced XSL Concepts Transforming External Data Sources

Vinit Varghese

Development Manager, OmniUpdate

slide-2
SLIDE 2

Agenda

OU Campus Page Templates & PCF xsl:doc xsl:unparsed-text Injecting Parameters What’s new in XSL 3.0 Use Case Q&A

slide-3
SLIDE 3

New Page Components

Template Structure

.TCF

.TMPL

.PCF

.XML

XSL

.XML .TMPL .TMPL .INC .INC

XSL XSL

slide-4
SLIDE 4

EXtensible Stylesheet Language(XSL)

.PCF XSL

slide-5
SLIDE 5

xsl:doc

doc(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.

slide-6
SLIDE 6

xsl:unparsed-text

unparsed-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.

slide-7
SLIDE 7

..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

slide-8
SLIDE 8

Let’s Do It!

slide-9
SLIDE 9

Q&A

slide-10
SLIDE 10

Thank you!

Don’t forget to take our survey

  • utc16.com/surveys