advanced xsl concepts transforming external data sources vinit varghese implementation manager,...
TRANSCRIPT
Advanced XSL Concepts Transforming External Data Sources
Vinit VargheseImplementation Manager, OmniUpdate
Agenda
OU Campus Page Templates & PCFxsl:docxsl:unparsed-textInjecting ParametersUse CaseQ&A
Template StructurePRODUCTION
STAGING
EXtensible Stylesheet Language(XSL)
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.
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.
..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
Let’s Do It!
Q&A
Don’t forget to take our survey
outc15.com/surveys
Thank you!