transforming external data
play

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


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

  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

  3. Template Structure New Page Components XSL XSL .TMPL .PCF XSL .TCF .TMPL .XML .XML .TMPL .INC .INC

  4. EXtensible Stylesheet Language(XSL) XSL .PCF

  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.

  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.

  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

  8. Let’s Do It!

  9. Q&A

  10. Thank you! Don’t forget to take our survey outc16.com/surveys

Recommend


More recommend