Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > XML > BOOK: Beginning XSLT and XPath : Transforming XML Documents and Data
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning XSLT and XPath : Transforming XML Documents and Data
This is the forum to discuss the Wrox book Beginning XSLT and XPath : Transforming XML Documents and Data by Ian Williams ISBN: 978-0-470-47725-0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning XSLT and XPath : Transforming XML Documents and Data section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Display Modes
  #1 (permalink)  
Old July 18th, 2013, 03:56 AM
Registered User
Points: 8, Level: 1
Points: 8, Level: 1 Points: 8, Level: 1 Points: 8, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2013
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default xml to xml transformation using xslt

<tarun>
<atul-holds>
<hold>12000</hold>
<hold>36</hold>
</atul-holds>
<atul-peats>
<peat>12000</peat>
<peat>36</peat>
</atul-peats>
</tarun>
---------------------------------------------
---------------------------------------------
The above data should look like below:

<tarun>
<suhail>
<sriman>
<hold>
<value>12000</value>
</hold>
<peat>
<value>12000</value>
</peat>
</sriman>
<sriman>
<hold>
<value>36</value>
</hold>
<peat>
<value>36</value>
</peat>
</sriman>
</suhail>
</tarun>
  #2 (permalink)  
Old July 18th, 2013, 04:02 AM
Registered User
Points: 8, Level: 1
Points: 8, Level: 1 Points: 8, Level: 1 Points: 8, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2013
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default More-info

Basically i want to make pairs of 1st child of <atul-holds> with 1st child of <atul-peats> , second child of <atul-holds> with second child of <atul-peats> and so on.
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
XSLT - XML Transformation Performance fishstix XSLT 5 April 13th, 2009 02:48 PM
xml schema transformation using xslt xsltbeginner XSLT 1 March 3rd, 2009 10:11 AM
Regarding xml-html transformation of an xml string using xslt and javascript suprakash444 XSLT 1 January 12th, 2009 01:23 AM
Xml to Xml Transformation using xslt ShaileshShinde XSLT 1 July 20th, 2005 02:20 AM
XML to XML transformation using XSLT karjagis XSLT 3 July 30th, 2004 07:13 AM



All times are GMT -4. The time now is 05:39 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.