xsl-list
[Top] [All Lists]

[xsl] Re: xml to XML using xslt- Subject change

2008-02-11 10:18:57
Hi All:

I am sorry the subject was wrong. I mean if I have one
one XML input file , I want the output to be XML also.
Can this be done using XSLT. 
--- Rose Rose <rose2577(_at_)yahoo(_dot_)com> wrote:

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




      
____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>