small correction in xslt

This commit is contained in:
Jochen Stärk
2017-10-31 18:01:28 +01:00
parent a9b7c972db
commit a35a90ca2e
2 changed files with 3 additions and 1 deletions

View File

@@ -138,7 +138,7 @@ Migrated by Mustangproject XSLT
<!-- rename and add --> <!-- rename and add -->
<xsl:template match="//*[local-name() != 'HeaderExchangedDocument']/*[local-name() = 'IssueDateTime']"> <xsl:template match="//*[local-name() != 'HeaderExchangedDocument']/*[local-name() = 'IssueDateTime']">
<ram:FormattedIssueDateTime"> <ram:FormattedIssueDateTime>
<qdt:DateTimeString> <qdt:DateTimeString>
<xsl:apply-templates select="@*|node()" /> <xsl:apply-templates select="@*|node()" />
</qdt:DateTimeString> </qdt:DateTimeString>

View File

@@ -412,6 +412,8 @@ public class MustangReaderWriterEdgeTest extends TestCase implements IZUGFeRDExp
.load(SOURCE_PDF)) { .load(SOURCE_PDF)) {
ze.setZUGFeRDVersion(1); ze.setZUGFeRDVersion(1);
ze.PDFattachZugferdFile(this); ze.PDFattachZugferdFile(this);
String theXML=new String(ze.getProvider().getXML());
//assertTrue(theXML.contains("<rsm:CrossIndustryDocument"));
ze.export(TARGET_PDF); ze.export(TARGET_PDF);
} }