Hi ALL,
I have a XML file in following type
I want the XML in following type
I don't know how to handle this situation. I tried using preceding-sibling and following-sibling.
Please help me out from this situation
Thanks
Sam
I have a XML file in following type
Code:
<xml> <para type="P">Sample text 1 goes here</para> <para>Sample text 2 goes here</para> <para>Sample text 3 goes here</para> <para type="P">Sample text 4 goes here</para> <para>Sample text 5 goes here</para> <para>Sample text 6 goes here</para> <para>Sample text 7 goes here</para> <para type="P">Sample text 8 goes here</para> <para type="P">Sample text 9 goes here</para> </xml>
Code:
<xml> <para type="P">Sample text 1 goes here</para> <para type="P"> <para>Sample text 2 goes here</para> <para>Sample text 3 goes here</para> Sample text 4 goes here</para> <para type="P"> <para>Sample text 5 goes here</para> <para>Sample text 6 goes here</para> <para>Sample text 7 goes here</para> Sample text 8 goes here</para> <para type="P">Sample text 9 goes here</para> </xml>
Please help me out from this situation
Thanks
Sam
Comment