[xsl] xml->xsl using xslt

Subject: [xsl] xml->xsl using xslt
From: Rose Rose <rose2577@xxxxxxxxx>
Date: Mon, 11 Feb 2008 08:58:24 -0800 (PST)
Hi all:
 
Is it possible to write an xslt to convert one xml
document to another by renaming the elements?
eg: if i have soemthing like this:
 
<text1>
<sample>data</sample>
</text1>
 
and I want to transform it to:
 
<text2>
 
<sample1>data</sample1>
</text2>
 
Can I do something like this in xslt?  
 
Any suggestions/help appreciated.


      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

Current Thread