bringing all chidren under the node.urgent

I am facing a problem in xslt .Below is my input xml file.


<?xml version="1.0" encoding="UTF-8"?>


Anoop Chaako Samuel

Bank Street
GurgoanCity
Haryana



module11
12-oct-2004
30-oct-2004


module12
31-oct-2004
30-nov-2004


module13
01-jan-2005
30-jan-2005





SourceBuildBindDocument
Source BuildBind Document


DataProductSourceIdentifier
DPSIDSI Document




Now my Output xml file should be as following.

<?xml version="1.0" encoding="UTF-8"?>


Anoop Chaako Samuel

Bank Street
GurgoanCity
Haryana



SourceBuildBindDocument
Source BuildBind Document

module11
12-oct-2004
30-oct-2004


module12
31-oct-2004
30-nov-2004



DataProductSourceIdentifier
DPSIDSI Document

module13
01-jan-2005
30-jan-2005







I am facing the problem in regruping the assignment tag under the project and placing the project tag under the worker tag.

I am novice to XSLT.Can anybody help me in this ragard.

Jithu

Hi,
The attached example should help you get started. It processes each worker, finds projects he is assigned to, copies the project details and then copies the relevant assignment details.

HTH
test.xsl (1.33 KB)