http://swpat.ffii.org/Action against software patents http://www.gnome.org/Gnome2 Logo http://www.w3.org/StatusW3C logo http://www.redhat.comRed Hat Logo http://xmlsoft.org/XSLT/Made with Libxslt Logo The XSLT C library for Gnome
FAQ
Main Menu index.htmlHome http://xmlsoft.org/wikiWiki intro.htmlIntroduction docs.htmlDocumentation bugs.htmlReporting bugs and getting help help.htmlHow to help downloads.htmlDownloads FAQ.htmlFAQ news.htmlNews xsltproc2.htmlThe xsltproc tool docbook.htmlDocBook API.htmlThe programming API python.htmlPython and bindings internals.htmlLibrary internals extensions.htmlWriting extensions contribs.htmlContributions EXSLT/index.htmllibexslt xslt.htmlflat page , site.xslstylesheet html/index.htmlAPI Menu ChangeLog.htmlChangeLog Related links tutorial/libxslttutorial.htmlTutorial ,
          
tutorial2/libxslt_pipes.htmlTutorial2 xsltproc.htmlMan page for xsltproc http://mail.gnome.org/archives/xslt/Mail archive http://xmlsoft.org/XML libxml2 ftp://xmlsoft.org/FTP http://www.zlatkovic.com/projects/libxml/Windows binaries http://garypennington.net/libxml2/Solaris binaries http://www.zveno.com/open_source/libxml2xslt.htmlMacOsX binaries http://bugzilla.gnome.org/buglist.cgi?product=libxsltBug Tracker http://www.zend.com/php5/articles/php5-xmlphp.php#Heading17XSLT with PHP http://www.mod-xslt2.com/Apache module http://sourceforge.net/projects/libxml2-pas/Pascal bindings http://xsldbg.sourceforge.net/Xsldbg Debugger API Indexes APIchunk0.htmlAlphabetic APIconstructors.htmlConstructors APIfunctions.htmlFunctions/Types APIfiles.htmlModules APIsymbols.htmlSymbols 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
  
  
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
  
  
Is there C++ bindings ?    
Yes for example http://pmade.org/pjones/software/xmlwrapp/xmlwrapp  , see python.htmlthe related pages about bindings 
  
bugs.htmlDaniel Veillard 
