adding and remove element in text node
Posted: Fri Sep 14, 2018 8:45 am
Hi All,
I am new to XSLT and struggling to get my expected output. Here what am expecting:
Input 1:
<s>xxxx <d>dddd</d> zzzz</s>
Output for 1:
<p><t>xxxx dddd zzzz</t></p>
Input 2
<s>xxxx <f>dddd</f> zzzz</s>
Output for 2:
<p><t>xxxx </t><t>dddd</t><t> zzzz</t></p>
Could you anybody please help with me?
Thanks,
Kumar
I am new to XSLT and struggling to get my expected output. Here what am expecting:
Input 1:
<s>xxxx <d>dddd</d> zzzz</s>
Output for 1:
<p><t>xxxx dddd zzzz</t></p>
Input 2
<s>xxxx <f>dddd</f> zzzz</s>
Output for 2:
<p><t>xxxx </t><t>dddd</t><t> zzzz</t></p>
Could you anybody please help with me?
Thanks,
Kumar