Skip to content

Commit

Permalink
Peace <soc>
Browse files Browse the repository at this point in the history
  • Loading branch information
byt3n33dl3 committed Nov 25, 2024
1 parent 6fdbf35 commit d7bd352
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
File renamed without changes.
Binary file added report-return/SampleXslt1Map.xslt
Binary file not shown.
9 changes: 9 additions & 0 deletions report-return/SampleXslt2Map.xslt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="2.0">
<xsl:template match="@*|node()">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>
11 changes: 11 additions & 0 deletions report-return/SampleXslt3Map.xslt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<xsl:stylesheet version="3.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xsl:output method="text"/>
<xsl:template match="/">
<xsl:value-of select="company/employee/name"/>
<xsl:variable name="test">
<xsl:text>company/employee/name</xsl:text>
</xsl:variable>
<xsl:evaluate xpath="$test"/>
</xsl:template>
</xsl:stylesheet>

0 comments on commit d7bd352

Please sign in to comment.