corrected example
This commit is contained in:
@@ -362,8 +362,6 @@ public class ZUGFeRDVisualizer {
|
|||||||
// Step 6: Start XSLT transformation and FOP processing
|
// Step 6: Start XSLT transformation and FOP processing
|
||||||
transformer.transform(src, res);
|
transformer.transform(src, res);
|
||||||
|
|
||||||
//Files.write(Paths.get("C:\\Users\\jstaerk\\temp\\fop.pdf"), res.toString().getBytes(StandardCharsets.UTF_8));
|
|
||||||
|
|
||||||
} catch (FOPException | IOException | TransformerException e) {
|
} catch (FOPException | IOException | TransformerException e) {
|
||||||
LOGGER.error("Failed to create PDF", e);
|
LOGGER.error("Failed to create PDF", e);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -33,14 +33,6 @@ but with a UTF8 BOM at the beginning
|
|||||||
</cac:ExternalReference>
|
</cac:ExternalReference>
|
||||||
</cac:Attachment>
|
</cac:Attachment>
|
||||||
</cac:AdditionalDocumentReference>
|
</cac:AdditionalDocumentReference>
|
||||||
<cac:AdditionalDocumentReference>
|
|
||||||
<cbc:ID>Doc2</cbc:ID>
|
|
||||||
<cbc:DocumentType>Drawing</cbc:DocumentType>
|
|
||||||
<cac:Attachment>
|
|
||||||
<cbc:EmbeddedDocumentBinaryObject mimeCode="application/pdf"
|
|
||||||
>UjBsR09EbGhjZ0dTQUxNQUFBUUNBRU1tQ1p0dU1GUXhEUzhi</cbc:EmbeddedDocumentBinaryObject>
|
|
||||||
</cac:Attachment>
|
|
||||||
</cac:AdditionalDocumentReference>
|
|
||||||
<cac:AccountingSupplierParty>
|
<cac:AccountingSupplierParty>
|
||||||
<cac:Party>
|
<cac:Party>
|
||||||
<cbc:EndpointID schemeID="GLN" schemeAgencyID="9">1234567890123</cbc:EndpointID>
|
<cbc:EndpointID schemeID="GLN" schemeAgencyID="9">1234567890123</cbc:EndpointID>
|
||||||
|
|||||||
Reference in New Issue
Block a user