Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

transfer location of elements using XSLT

Status
Not open for further replies.

arvin21

Programmer
May 23, 2002
5
PH
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top