xsl-list
[Top] [All Lists]

Re: [xsl] replace a string that is in between two specific chars in XSLT 1.0

2021-10-13 10:58:43

Am 13.10.2021 um 17:31 schrieb Prady Prady 
prady(_dot_)chin(_at_)gmail(_dot_)com:
Team,


Can somebody help me to replace string that is in between*# and ;*
with blank. I need to include this is oracle bpel which only supports
xslt 1.0

From:
<IpsCollection xmlns="http://xmlns.oracle.com/aa
<http://xmlns.oracle.com/aa>">
<Ips>
*<Ip>q1#11.11.11.111;q2#22.22.22.22</Ip>*

Were is the second semicolon ";" after the second "#" so that the string
"in between" can be found and removed?


</Ips>
 </IpsCollection>
To:
* <v2:Ops xmlns:v2="http://xmlns.ieee.org/V2 <http://xmlns.ieee.org/V2>">*
<v2:nums>q1;q2</v2:nums>
 </v2:Ops>


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/582271>
(by email <>)
--~----------------------------------------------------------------
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>