Here is my problem

 

I have an 

xml A

<page>

<location>

<locid>1<locid>

<vehicle>

<id>1</id>

</vehicle>

<vehicle>

<id>2</id>

</vehicle>

 

</ location >

<location>

<locid>2<locid>

<vehicle>

<id>1</id>

</vehicle>

</ location >

 

</page>

 

XML B

<prices>

<location>

            

<vehicle>

            <locationid>1<locationid>

<id>1</id>

<price>25000</price>    

</vehicle>

            <vehicle>

            <locationid>1<locationid>

<id>2</id>

<price>5000</price>      

</vehicle>

            <vehicle>

            <locationid>2<locationid>

<id>1</id>

<price>9000</price>      

</vehicle>

 

</location>

</prices>

 

 

After transformation I need the out put xml to be

 

<page>

<location>

<locid>1<locid>

<vehicle>

<id>1</id>

<price>25000</price>    

 

</vehicle>

<vehicle>

<id>2</id>

<price>5000</price>      

 

</vehicle>

 

</ location >

<location>

<locid>2<locid>

<vehicle>

<id>1</id>

<price>9000</price>      

 

</vehicle>

</ location >

 

</page>

 

How do I do this?

Thanks

Alan

 

 

Alan Andrade | [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> 

 



-----------------------------------------
The information contained in this e-mail message is intended only
for the personal and confidential use of the recipient(s) named
above. This message may be an attorney-client communication and/or
work product and as such is privileged and confidential. If the
reader of this message is not the intended recipient or an agent
responsible for delivering it to the intended recipient, you are
hereby notified that you have received this document in error and
that any review, dissemination, distribution, or copying of this
message is strictly prohibited. If you have received this
communication in error, please notify us immediately by e-mail, and
delete the original message.

Reply via email to