[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Quotation marks within quotation marks
I'm sure someone has had this problem before. I want to check if an
element with a particular attribute is available. I'm using the
element-available() function which takes a string argument.
Immediately you see my problem.. I can't have quotation marks within quotation marks. Any solutions? <xsl:choose> <xsl:when test="element-available('req:parameter[@name='additional_group']')"> -----------------------------------^--------------------^----------------^-^ <xsl:value-of select="req:parameter[@name='additional_group']" />, </xsl:when> <xsl:otherwise> <xsl:text>NULL,</xsl:text> </xsl:otherwise> </xsl:choose>
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
|