[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] < 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
|
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
|