Skip to content

Commit

Permalink
Updated XSLT
Browse files Browse the repository at this point in the history
  • Loading branch information
phax committed Feb 7, 2018
1 parent 9aacc57 commit e3139b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
<artifactId>ph-sch2xslt-maven-plugin</artifactId>
<version>5.0.1</version>
<executions>
<!--
-->
<execution>
<id>cii</id>
<goals>
Expand Down
4 changes: 2 additions & 2 deletions ubl/xslt/EN16931-UBL-model.xslt
Original file line number Diff line number Diff line change
Expand Up @@ -3635,8 +3635,8 @@
</xsl:template>

<!--RULE -->
<xsl:template match="//*[ends-with(name(), 'Amount') and not(ends-with(name(),'PriceAmount')) and not(../../cac:Price/cac:AllowanceCharge)]" mode="M12" priority="1011">
<svrl:fired-rule context="//*[ends-with(name(), 'Amount') and not(ends-with(name(),'PriceAmount')) and not(../../cac:Price/cac:AllowanceCharge)]" />
<xsl:template match="//*[ends-with(name(), 'Amount') and not(ends-with(name(),'PriceAmount')) and not(ancestor::cac:Price/cac:AllowanceCharge)]" mode="M12" priority="1011">
<svrl:fired-rule context="//*[ends-with(name(), 'Amount') and not(ends-with(name(),'PriceAmount')) and not(ancestor::cac:Price/cac:AllowanceCharge)]" />

<!--ASSERT -->
<xsl:choose>
Expand Down

0 comments on commit e3139b1

Please sign in to comment.