Re: [xsl] A way to use Single quote or double quote in XML and/or output it into HTML & FO without resorting to CDATA in the XML?

Subject: Re: [xsl] A way to use Single quote or double quote in XML and/or output it into HTML & FO without resorting to CDATA in the XML?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 1 Oct 2003 15:57:18 +0100
This is a FAQ, and explained in teh faq for this list.

You want the Xpath String What's New so as it contains ' you need " to
contain it so

"What's New"

Now you want to put that in an XML attribute so you either use ' and
quote the '

match='"What&apos;s New">'

or use " and qute the "

match="&quot;What's New&quot;"

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

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


Current Thread