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
The programming API
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 Okay this section is clearly incomplete. But integrating libxslt into your
application should be relatively easy. First check the few steps described
below, then for more detailed informations, look at the
html/libxslt-lib.html generated pages  for the API and the source
of libxslt/xsltproc.c  and the  
tutorial/libxslttutorial.htmltutorial .
Basically doing an XSLT transformation can be done in a few steps:
configure the parser for XSLT:
    
xmlSubstituteEntitiesDefault(1);
    
xmlLoadExtDtdDefaultValue = 1;
  
  
parse the stylesheet with xsltParseStylesheetFile()  
parse the document with xmlParseFile()  
apply the stylesheet using xsltApplyStylesheet()  
save the result using xsltSaveResultToFile() if needed set
    xmlIndentTreeOutput to 1
Steps 2,3, and 5 will probably need to be changed depending on you
processing needs and environment for example if reading/saving from/to
memory, or if you want to apply XInclude processing to the stylesheet or
input documents.
bugs.htmlDaniel Veillard 
