[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Is there a way to translate entities into their characte
>I'd like to cheat in my style sheet and do something like this: > ><xsl:if test="blahblahblah"><a href="go away"></xsl:if> ><xsl:apply-templates/> ></a> > >My real world case is much more complex, but is there a way to >have the HTML generated for this contain the <> symbols instead of >the entities? why not <xsl:if test="blahblahblah"> <a> <xsl:attribute name="href">go away</xsl:attribute> <xsl:apply-templates /> </a> </xsl:if> <xsl:if test="not(blahblahblah)"> <xsl:apply-templates /> </xsl:if> > > > > 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
|