xsl-list
[Top] [All Lists]

RE: XML to XML

2004-05-20 11:53:41

W3Schools has a pretty good intro at:
http://www.w3schools.com/xsl/default.asp

A simple answer would be as such:

<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
<xsl:template match="maintain">
<maintwp><xsl:value-of select="."/></maintwp>
</xsl:template>
</xsl:stylesheet>

Michael Reece

-----Original Message-----
From: Norma Yeazell [mailto:Nyeazell(_at_)oneil(_dot_)com] 
Sent: Thursday, May 20, 2004 1:36 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] XML to XML

I want to transform XML  to XML using different elements. I thought I
could do this but have been unable to find any samples to get me
started. Can anyone help me out with this?

For instance the original XML has an element <maintain> and the new XML
should be <maintwp> and many more.



Confidentiality Notice
The information contained in this e-mail is confidential and intended for
use only by the person(s) or organization listed in the address. If you have
received this communication in error, please contact the sender at O'Neil &
Associates, Inc., immediately. Any copying, dissemination, or distribution
of this communication, other than by the intended recipient, is strictly
prohibited.


--+------------------------------------------------------------------
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>