Subject: RE: [xsl] XML to XML From: "Reece, Michael Clark" <REECEM@xxxxxxxxxxxx> Date: Thu, 20 May 2004 14:53:41 -0400 |
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@xxxxxxxxx] Sent: Thursday, May 20, 2004 1:36 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx 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.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] XML to XML, Andreas L. Delmelle | Thread | RE: [xsl] XML to XML, Norma Yeazell |
[xsl] XML to XML, Norma Yeazell | Date | RE: [xsl] XSLT sort, Tomas Olsson |
Month |