|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: To convert content into XML tag.
use the <xsl:element/> tag with translate <xsl:template match="element"> <xsl:element name="translate(.,' ','_')"/> </xsl:template> this is a template that creates an element and uses translate to replace spaces with the underscore char untested ! htht, jim fuller > -----Original Message----- > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Shaikh, > Neelkamal (MED, Oracle) > Sent: 19 August 2002 15:30 > To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx' > Subject: To convert content into XML tag. > > > > Hi, > > How can we convert content of an XML tag to an XML tag. > > Input XML > > <TEST>This should become XML tag</TEST> > > Output after xsl transformation should be > > <This should become XML tag> </This should become XML tag> > > More over xml tag should not have spaces in between, how to remove them. > > Please let me know. > > Thanks and Regards, > Neel. > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








