Subject: RE: [xsl] XML / XSLT Transformations with multiple files & transformations. From: "Aron Bock" <aronbock@xxxxxxxxxxx> Date: Tue, 24 May 2005 15:19:30 +0000 |
From: "dti mail" <zaknixon@xxxxxxxxxxxxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Subject: [xsl] XML / XSLT Transformations with multiple files & transformations.
Date: Tue, 24 May 2005 09:46:08 -0500
Hello all. I need some help with XSLT and understanding how I can solve my problem. I have a set of 4 files, which are sampled below:
-- Job.xml-- <job id = "12"/> <job id = "22"/> <job id = "32"/>
-- Task.xml -- <task id ="1"> <job ref = "12"/> </task> <task id ="2"> <job ref = "22"/> </task> <task id ="3"> <job ref = "32"/> </task>
-- MyTasks.xml -- <mytask id = "1"> <task-ref id="2"/> <task-ref id="3"/> </mytask> <mytask id = "2"> <task-ref id="2"/> <task-ref id="3"/> </mytask>
-- Configuration.xml -- <conf> <mytask-ref id = "1"/> <mytask-ref id = "2"/> </conf>
The ref tags indicate the ids of the elements to use in the appropriate files. Here is what I wish my output to look like:
<conf> <mytask id = "1">
<task id ="2"> <job id = "22"/> </task> <task id ="3"> <job id= "32"/> </task>
</mytask>
<mytask id = "2">
<task id ="2"> <job id = "22"/> </task> <task id ="3"> <job id= "32"/> </task>
</mytask>
</conf>
============ END OUT ================= Can anyone give me any pointers on how to acheive this ?
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] XML / XSLT Transformations wi, dti mail | Thread | [xsl] From "flat" XML To Nested Sec, Nadia . Swaby |
Re: [xsl] backtracking to find all , Rahil | Date | Re: [xsl] backtracking to find all , Aron Bock |
Month |