xsl-list
[Top] [All Lists]

[xsl] Need help with XSLT tokenize

2020-08-11 06:34:19
Team,

I need help with XSLT. Below is my requirement. Can somebody help?
=====================
Input xml:

<Payments>

<Payment>

<invoiceDetails>order1#amt1;order2#amt2;</invoiceDetails>

</Payment>

</Payments>

I need to be able to convert this to:
Output xml:

<Orders>

<Order>

<OrderNumber>order1</OrderNumber>

<Amount>amt1</Amount>

</Order>

<Order>

<OrderNumber>order2</OrderNumber>

<Amount>amt2</Amount>

</Order>

</Orders>
======================

Thank you very much for your help
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--
<Prev in Thread] Current Thread [Next in Thread>