Re: [xslt] Use of " in stylesheet params
- From: Daniel Veillard <veillard redhat com>
- To: xslt gnome org
- Subject: Re: [xslt] Use of " in stylesheet params
- Date: Sat, 18 Aug 2001 06:56:18 -0400
On Sat, Aug 18, 2001 at 12:49:49AM -0500, Tom Moog wrote:
>
> I am trying to pass a string containing a
> double quote as a style sheet parameter
> when calling xsltApplyStylesheet.
What about:
param[1]="' this is a double \" quote'";
first " is interpreted by C compiler
the ' is a xslt string delimiter
the \" will be replaced by the C compiler into just "
" won't be handled as an XML entity reference since I don't
try to parse parameter strings as an XML chunk but as an UTF8 string
(it should be an xmlChar *).
Daniel
--
Daniel Veillard | Red Hat Network http://redhat.com/products/network/
veillard@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]