[xslt] Use of " in stylesheet params
- From: Tom Moog <tmoog polhode com>
- To: xslt gnome org
- Subject: [xslt] Use of " in stylesheet params
- Date: Sat, 18 Aug 2001 00:49:49 -0500 (CDT)
I am trying to pass a string containing a
double quote as a style sheet parameter
when calling xsltApplyStylesheet.
I know that libxslt treats a parameter as
an XPath expression so that the string
must be quoted using ' or ". Both work,
unless, of course, the string contains
the quoting character. If I code:
param[0]="alpha";
param[1]="\" this is a double "l quote\"";
param[2]= NULL;
I get " in the output, not ". What magic
call do I need to make to fix this ?
Tom Moog
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]