| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
| 3 |
xmlns:xs="http://www.w3.org/2001/XMLSchema" |
| 4 |
xmlns="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" |
| 5 |
xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" |
| 6 |
xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" |
| 7 |
xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" |
| 8 |
exclude-result-prefixes="xs" |
| 9 |
version="2.0"> |
| 10 |
<xsl:output omit-xml-declaration="yes" indent="no"/> |
| 11 |
<xsl:template match="node() | @*"> |
| 12 |
<xsl:copy> |
| 13 |
<xsl:apply-templates select="node() | @*"/> |
| 14 |
</xsl:copy> |
| 15 |
</xsl:template> |
| 16 |
<xsl:template match="//*[local-name()='Invoice']//*[local-name()='UBLExtensions']"></xsl:template> |
| 17 |
<xsl:template match="//*[local-name()='AdditionalDocumentReference'][cbc:ID[normalize-space(text()) = 'QR']]"></xsl:template> |
| 18 |
<xsl:template match="//*[local-name()='Invoice']//*[local-name()='Signature']"></xsl:template> |
| 19 |
</xsl:stylesheet> |