IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

Need custom text in attribute at bottom of a sequence, how do i do it? Options · View
Marcus.T
Posted: Saturday, November 30, 2019 5:14:58 PM
Rank: Member

Joined: 1/28/2015
Posts: 24
Location: Sweden
I´m stuck with a problem.
So, i have this case where i generate some rows that will be used on an invoice.
And i want to add a custom text at the bottom of the rows, like the example below.

The rows can be at different number.


Input file
<InvoiceHeader InvoiceCustomerNo="1111" InvoiceDate="2019-11-27">
<InvoiceRow CustomerRowNo="1" RowDescription="Item 1"/>
<InvoiceRow CustomerRowNo="2" RowDescription="Item 2"/>
<InvoiceRow CustomerRowNo="3" RowDescription="Item 3"/>
<InvoiceRow CustomerRowNo="4" RowDescription="Item 4"/>
</InvoiceHeader>
<InvoiceHeader InvoiceCustomerNo="1111" InvoiceDate="2019-11-27">
<InvoiceRow CustomerRowNo="1" RowDescription="Item 1"/>
<InvoiceRow CustomerRowNo="2" RowDescription="Item 2"/>
</InvoiceHeader>


Output file:
<InvoiceHeader InvoiceCustomerNo="1111" InvoiceDate="2019-11-27">
<InvoiceRow CustomerRowNo="1" RowDescription="Item 1"/>
<InvoiceRow CustomerRowNo="2" RowDescription="Item 2"/>
<InvoiceRow CustomerRowNo="3" RowDescription="Item 3"/>
<InvoiceRow CustomerRowNo="4" RowDescription="Item 4"/>
<InvoiceRow CustomerRowNo="5" RowDescription="Custom text at bottom"/>
</InvoiceHeader>
<InvoiceHeader InvoiceCustomerNo="1111" InvoiceDate="2019-11-27">
<InvoiceRow CustomerRowNo="1" RowDescription="Item 1"/>
<InvoiceRow CustomerRowNo="2" RowDescription="Item 2"/>
<InvoiceRow CustomerRowNo="5" RowDescription="Custom text at bottom"/>
</InvoiceHeader>
Marcus.T
Posted: Saturday, November 30, 2019 6:08:35 PM
Rank: Member

Joined: 1/28/2015
Posts: 24
Location: Sweden
Solved it with "Add Duplicate Input After"
Users browsing this topic
guest

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.