Categories
- All Categories
- Oracle Analytics Learning Hub
- 30 Oracle Analytics Sharing Center
- 18 Oracle Analytics Lounge
- 238 Oracle Analytics News
- 45 Oracle Analytics Videos
- 16K Oracle Analytics Forums
- 6.2K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 88 Oracle Analytics Trainings
- 15 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
Embedding XML string in QR Barcode
Summary
Embedding XML string in QR Barcode
Content
What my business needs is to embed an XML formatted string in a QR barcode such as:
<barcode>
<docType>Vouch</docType>
<businessUnit>BU</businessUnit>
<voucherNumber>12345</voucherNumber>
<docDate>1-1-17</docDate>
<invoiceNumber>12345</invoiceNumber>
<shortVendorName>Sample Name</shortVendorName>
<longVendorName>Sample Name Long</longVendorName>
<scanSheetId>Acct Vouch</scanSheetId>
<patchCode>3</patchCode>
</barcode>
When I use a command such as <?format-barcode:barcode;'qrcode';'MyBarcodeEncoder'?> the decoded data comes out on one line randomly breaking such as this
VoucheBU123451-1-17
12345Sample NameSample NameLong
Acct Vouch3
I have tried concatenating the XML tags with the element value and saving it as a variable then passing that variable as the data to be formatted. This produces a garbled barcode. Any ideas on how to encode the full XML string?
Thanks,
Zach Brenneman