/usr/share/doc/libxslt-devel
NameSizeModeActions
EXSLT/-0755rm
html/-0755rm
images/-0755rm
tutorial/-0755rm
tutorial2/-0755rm
API.html67660644editdlrm
APIchunk0.html281350644editdlrm
APIchunk1.html273640644editdlrm
APIchunk2.html440230644editdlrm
APIchunk3.html414360644editdlrm
APIchunk4.html379750644editdlrm
APIchunk5.html282620644editdlrm
APIchunk6.html284960644editdlrm
APIchunk7.html286420644editdlrm
APIchunk8.html296290644editdlrm
APIchunk9.html305560644editdlrm
APIchunk10.html520470644editdlrm
APIchunk11.html290190644editdlrm
APIchunk12.html383340644editdlrm
APIchunk13.html75710644editdlrm
APIconstructors.html142020644editdlrm
APIfiles.html592260644editdlrm
APIfunctions.html532490644editdlrm
APIsymbols.html579960644editdlrm
bugs.html123990644editdlrm
contexts.gif103260644editdlrm
contribs.html76080644editdlrm
docbook.html93070644editdlrm
docs.html62470644editdlrm
downloads.html74620644editdlrm
duck.png107950644editdlrm
epatents.png19010644editdlrm
extensions.html227480644editdlrm
FAQ.html75500644editdlrm
gnome2.png38020644editdlrm
help.html66870644editdlrm
index.html66950644editdlrm
internals.html288440644editdlrm
intro.html64780644editdlrm
libexslt-api.xml66000644editdlrm
libexslt-refs.xml143350644editdlrm
libxslt-api.xml2233560644editdlrm
Libxslt-Logo-90x34.gif30350644editdlrm
Libxslt-Logo-180x168.gif81930644editdlrm
libxslt-refs.xml3562020644editdlrm
news.html629750644editdlrm
node.gif49280644editdlrm
object.gif45750644editdlrm
processing.gif92090644editdlrm
python.html159720644editdlrm
redhat.gif6970644editdlrm
smallfootonly.gif27720644editdlrm
stylesheet.gif70500644editdlrm
templates.gif89950644editdlrm
w3c.png20280644editdlrm
xslt.html1311180644editdlrm
xsltproc.html94750644editdlrm
xsltproc2.html70820644editdlrm
Edit: /usr/share/doc/libxslt-devel/FAQ.html (7550B)
FAQ
Action against software patentsGNOME2 LogoW3C logoRed Hat Logo
Made with Libxslt Logo

The XSLT C library for GNOME

FAQ

Main Menu
Related links
API Indexes
  1. Troubles compiling or linking programs using libxslt

    Usually the problem comes from the fact that the compiler doesn't get the right compilation or linking flags. There is a small shell script xslt-config which is installed as part of libxslt usual install process which provides those flags. Use

    xslt-config --cflags

    to get the compilation flags and

    xslt-config --libs

    to get the linker flags. Usually this is done directly from the Makefile as:

    CFLAGS=`xslt-config --cflags`

    LIBS=`xslt-config --libs`

    Note also that if you use the EXSLT extensions from the program then you should prepend -lexslt to the LIBS options

  2. 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'"<- .

    or use

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

  3. Is there C++ bindings ?

    Yes for example xmlwrapp , see the related pages about bindings

Daniel Veillard