xsl-list
[Top] [All Lists]

Re: 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?

2003-10-01 07:57:18

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's New">'

or use " and qute the "

match=""What's New""

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