xsl-list
[Top] [All Lists]

[xsl] Re: Need help with tokenize functionality in XSLT 1.0

2020-08-19 10:51:31
Team,

Sorry to re-open this issue.. I haven't realized that I have to use XSLT
1.0 and  tokenize and regex functionality is NOT supported.

Can I get the alternate solution that works with XSLT 1.0

Here is the question again:


=====================
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>