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

Subject: [xsl] Re: Need help with tokenize functionality in XSLT 1.0
From: "Prady Prady prady.chin@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 19 Aug 2020 15:51:25 -0000
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

Current Thread