OCLOperators XsltTransformXml

You use XsltTransformXml(<xsltstring>, <xmlstring>)  transforms xml using the provided XSLT text.

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:output method="xml" indent="yes"/>
  <xsl:strip-space elements="*" />
  <xsl:template match="@* | node()">
    <xsl:copy>
      <xsl:apply-templates select="@* | node()"/>
    </xsl:copy>
  </xsl:template>
  <xsl:template match="xslt"/>

 
  <xsl:template match="root">
    <PrspctsDataRpt><xsl:apply-templates select="@*|node()" /></PrspctsDataRpt>
  </xsl:template>
</xsl:stylesheet>
This page was edited 96 days ago on 02/10/2024. What links here