XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
David ChanSubject: Adding a new tag
Author: David Chan
Date: 12 Feb 2006 02:51 AM
Hi all,

I am encounter a troule using xsl with a new tag, any input?

For example.

<Rec><No>1</NO></Rec>
<Rec><No>2</NO></Rec>
<Rec><No>3</NO></Rec>

and how to change as
<new data>
<Rec><No>1</NO></Rec>
<Rec><No>2</NO></Rec>
<Rec><No>3</NO></Rec>
</new data>

Regards
Dave

Postnext
Minollo I.Subject: Adding a new tag
Author: Minollo I.
Date: 12 Feb 2006 02:12 PM
<NewData>
<xsl:for-each select="//Rec">
<xsl:copy-of select="."/>
</xsl:for-each>
</NewData>

Posttop
David ChanSubject: Adding a new tag
Author: David Chan
Date: 15 Feb 2006 04:24 AM
thanks

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.