How2 copy root to string in output?

Please support our XML, XSLT and XPATH advertiser: Intel Parallel Studio Home
Reply

Join Date: Aug 2009
Posts: 1
Reputation: jay_c is an unknown quantity at this point 
Solved Threads: 0
jay_c jay_c is offline Offline
Newbie Poster

How2 copy root to string in output?

 
0
  #1
Aug 5th, 2009
I need to build a new XML file and in one of the output nodes, place the complete inbound XML in as a string.

How do I do that?

How do I copy the root and all its children?
To a string?
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 95
Reputation: fpmurphy is an unknown quantity at this point 
Solved Threads: 5
fpmurphy fpmurphy is offline Offline
Junior Poster in Training

Re: How2 copy root to string in output?

 
0
  #2
Aug 12th, 2009
Is it somewhat long-winded to do using XSLT. If you want to go this route, see Pg 67 of Jenni Tennison excellent book "XSLT and XPath on the Edge". It discusses this topic in depth.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC