Subject: < and > From: "Sharmila Pandith" <sharmila@xxxxxxxxx> Date: Wed, 28 Apr 1999 17:44:57 -0400 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: How do you this XML document to, Francois_Deza | Thread | RE: < and >, Kay Michael |
RE: How do you this XML document to, Ed Simon | Date | Re: Formatting Objects considered h, Jonathan Borden |
Month |