From f8a5acff6ed39f4dbc2d17749c29569148425f06 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Wed, 28 Nov 2001 10:19:19 +0000 Subject: added an FAQ Daniel * doc/FAQ.html doc/site.xsl doc/*.html doc/Makefile.am: added an FAQ Daniel --- doc/FAQ.html | 83 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 doc/FAQ.html (limited to 'doc/FAQ.html') diff --git a/doc/FAQ.html b/doc/FAQ.html new file mode 100644 index 00000000..ba41a32c --- /dev/null +++ b/doc/FAQ.html @@ -0,0 +1,83 @@ + + + + + +FAQ + + + + + +
+Gnome LogoRed Hat Logo +
+

The XSLT C library for Gnome

+

FAQ

+
+
+ + +
+ + + +
Main Menu
+ + + +
Related links
+
+
  1. +passing parameters on the xsltproc command line doesn't work +

    xsltproc --param test alpha foo.xsl foo.xml

    +

    the param does not get passed and ends up as ""

    +

    In a nutshell do a double escaping at the shell prompt:

    +

    xsltproc --param test "'alpha'" foo.xsl foo.xml

    +

    i.e. the string value is surrounded by " and ' then terminated by ' + and ". Libxslt interpret the parameter values as XPath expressions, so + the string ->alpha<- is intepreted as the node set + matching this string. You really want + ->'alpha'<- to be passed to the processor. And to + allow this you need to escape the quotes at the shell level using + ->"'alpha'"<- .

    +
+

Daniel Veillard

+
+ + -- cgit v1.2.3