Subject: Re: < and > From: Scott_Boag/CAM/Lotus <CN=Scott_Boag/OU=CAM/O=Lotus@xxxxxxxxx> Date: Thu, 29 Apr 1999 12:15:32 +0000 (EST) |
Not a good way. The next version, which hopefully will be available in a couple of days, will have a reasonable way to do this. -scott "Sharmila Pandith" <sharmila@xxxxxxxxx>@mulberrytech.com on 04/28/99 05:44:57 PM Please respond to xsl-list@xxxxxxxxxxxxxxxx Sent by: owner-xsl-list@xxxxxxxxxxxxxxxx To: "XSL List" <XSL-List@xxxxxxxxxxxxxxxx> cc: Subject: < and > Hi, I am using XSL to transfer one form to XSL to an other. For Ex: If I have <Advertisement> <advertiser> <name>Ross Gheller</name> </advertiser> </Advertisement> should transform to: <adex> <ad-info> <name>Ross Gheller</name> </ad-info> </adex> The way I am doing right now is: <?xml version="1.0" ?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl"> <!-- Root xsl:template - start processing here --> <xsl:template match="/"> <xsl:pi name="xml">version="1.0"</xsl:pi> <xsl:if test="advertisement"> <xsl:text><adex></xsl:text> <xsl:if test="advertisement/advertiser"> <ad-info> <xsl:value-of select="advertisement/advertiser/name"> </ad-info> </xsl:if> <xsl:text></adex></xsl:text> </xsl:if> </xsl:template> </xsl:stylesheet> instead of using < and > is there any way i could print "<" and ">" in the transformed xml code? Thanks in advance, S P XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: < and >, Duane Nickull | Thread | RE: < and >, Sharmila Pandith |
namespaces (again), David Carlisle | Date | RE: XSL toolbar for Homesite, Trahan, Shane |
Month |