[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

Subject: RE: Is there a way to translate entities into their character equivalents?
From: Kevin Williams <Kevin.Williams@xxxxxxxxxxxxxx>
Date: Thu, 17 Aug 2000 12:33:45 -0400
RE: Is there a way to translate entities into their characte
> -----Original Message-----
> From: Steve Carton [mailto:scarton@xxxxxxxxxxxxxxxxxxxx]
> 
> I'd like to cheat in my style sheet and do something like this:
> 
> <xsl:if test="blahblahblah">&lt;a href="go away"&gt;</xsl:if>
> <xsl:apply-templates/>
> &lt;/a&gt;Steve,

Why on earth would you do this? Why not

<xsl:if test="blahblahblah">
  <xsl:element name="a">
    <xsl:attribute name="href">go away</xsl:attribute>
  </xsl:element>
</xsl:if>

- Kevin


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.