xsl-list
[Top] [All Lists]

Re: [xsl] String literals with both single and double quotes

2007-01-03 16:23:15
Abel Braaksma wrote:

To create a string with both literal apostrophe and quote, you can do this:

<xsl:value-of select="concat( ' &quot; ',  &quot; &apos; &quot; ) "/>

My concern is only with string literals, not with strings. Some parsing is simpler if the string literal does not include both single and double quotes.

--
Elliotte Rusty Harold  elharo(_at_)metalab(_dot_)unc(_dot_)edu
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--