Skip to content

Commit 169d510

Browse files
committed
updated for xslt complied and saxon variable mapping
1 parent f79a0ea commit 169d510

36 files changed

Lines changed: 644 additions & 545 deletions
File renamed without changes.
File renamed without changes.
File renamed without changes.

XsltDebugger.Tests/TestData/Integration/InvalidFunctionCall.xslt renamed to TestData/Integration/InvalidFunctionCall.xslt

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

XsltDebugger.Tests/TestData/Integration/VariableLoggingSample.xslt renamed to TestData/Integration/VariableLoggingSample.xslt

File renamed without changes.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
3+
<xsl:output method="xml" indent="yes" />
4+
<xsl:template match="/">
5+
<results>
6+
<xsl:variable name="count" select="count(/items/item)" />
7+
<xsl:variable name="firstName" select="/items/item[1]/name" />
8+
<summary>
9+
<count>
10+
<xsl:value-of select="$count" />
11+
</count>
12+
<first>
13+
<xsl:value-of select="$firstName" />
14+
</first>
15+
</summary>
16+
</results>
17+
</xsl:template>
18+
</xsl:stylesheet>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<items>
3+
<item>
4+
<name>Alpha</name>
5+
</item>
6+
<item>
7+
<name>Beta</name>
8+
</item>
9+
</items>

0 commit comments

Comments
 (0)