[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: How to create a literal string attribute value tha
On 09/12/2013 14:57, Costello, Roger L. wrote:
<xsl:value-of select="'he is good'" /> <xsl:value-of select="'he''s good'" /> (XSLT2) or <xsl:value-of select='"he's good"; /> (XSLT 1) The XML parser expands the entity before XSLT starts, and XSLT strips off the outer attribute value quotes to get an XPath expression to evaluate, and that needs to be "he's good" or in XSLT2 'he''s good' David
This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. ________________________________________________________________________
|
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
|