The sample i've given below was that two elements from the input file, <fpage> and <lpage> were located within an element, <group9> which is far away from the location of <group1>. I had converted these elements into <fp> and <lp> using XSLT but i need to bunch them with elements <vol> and <iss> (also converted from <volume> and <issue>). <group1> and <group9> were named to emphasized that i have two distinct groups but i need to merged their contents into a single group, <pubinfo>.
SOURCE
<group1><volume>9</volume><issue>12</issue></group1>
...
<group9><fpage>21</fpage><lpage>25</lpage></group9>
DESIRED OUTPUT
<pubinfo>Vol. <vol>9</vol>(<iss>12</iss>) <fp>21</fp>-<lp>25</lp>.</pubinfo>
regards,
arvin
manila, philippines
SOURCE
<group1><volume>9</volume><issue>12</issue></group1>
...
<group9><fpage>21</fpage><lpage>25</lpage></group9>
DESIRED OUTPUT
<pubinfo>Vol. <vol>9</vol>(<iss>12</iss>) <fp>21</fp>-<lp>25</lp>.</pubinfo>
regards,
arvin
manila, philippines