summaryrefslogtreecommitdiff
path: root/doc/FAQ.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/FAQ.html')
-rw-r--r--doc/FAQ.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/FAQ.html b/doc/FAQ.html
index c269cbe8..90cefefe 100644
--- a/doc/FAQ.html
+++ b/doc/FAQ.html
@@ -24,15 +24,15 @@ A:link, A:visited, A:active { text-decoration: underline }
</li>
<li><em>passing parameters on the xsltproc command line doesn't work</em>
<p><em>xsltproc --param test alpha foo.xsl foo.xml</em></p>
- <p><em>the param does not get passed and ends up as &quot;&quot;</em></p>
+ <p><em>the param does not get passed and ends up as ""</em></p>
<p>In a nutshell do a double escaping at the shell prompt:</p>
- <p>xsltproc --param test &quot;'alpha'&quot; foo.xsl foo.xml</p>
- <p>i.e. the string value is surrounded by &quot; and ' then terminated by '
- and &quot;. Libxslt interpret the parameter values as XPath expressions, so
+ <p>xsltproc --param test "'alpha'" foo.xsl foo.xml</p>
+ <p>i.e. the string value is surrounded by " and ' then terminated by '
+ and ". Libxslt interpret the parameter values as XPath expressions, so
the string -&gt;<code>alpha</code>&lt;- is intepreted as the node set
matching this string. You really want -&gt;<code>'alpha'</code>&lt;- to
be passed to the processor. And to allow this you need to escape the
- quotes at the shell level using -&gt;<code>&quot;'alpha'&quot;</code>&lt;- .</p>
+ quotes at the shell level using -&gt;<code>"'alpha'"</code>&lt;- .</p>
<p>or use</p>
<p>xsltproc --stringparam test alpha foo.xsl foo.xml</p>
</li>