PHP 7.4.33
Preview: API.html Size: 6.61 KB
/home/godevadmin/public_html/upload_images/home/000~ROOT~000/usr/share/doc/libxslt-devel/API.html

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /><style type="text/css">
TD {font-family: Verdana,Arial,Helvetica}
BODY {font-family: Verdana,Arial,Helvetica; margin-top: 2em; margin-left: 0em; margin-right: 0em}
H1 {font-family: Verdana,Arial,Helvetica}
H2 {font-family: Verdana,Arial,Helvetica}
H3 {font-family: Verdana,Arial,Helvetica}
A:link, A:visited, A:active { text-decoration: underline }
    </style><title>The programming API</title></head><body bgcolor="#8b7765" text="#000000" link="#a06060" vlink="#000000"><table border="0" width="100%" cellpadding="5" cellspacing="0" align="center"><tr><td width="120"><a href="http://swpat.ffii.org/"><img src="epatents.png" alt="Action against software patents" /></a></td><td width="180"><a href="http://www.gnome.org/"><img src="gnome2.png" alt="GNOME2 Logo" /></a><a href="http://www.w3.org/Status"><img src="w3c.png" alt="W3C logo" /></a><a href="http://www.redhat.com"><img src="redhat.gif" alt="Red Hat Logo" /></a><div align="left"><a href="http://xmlsoft.org/XSLT/"><img src="Libxslt-Logo-180x168.gif" alt="Made with Libxslt Logo" /></a></div></td><td><table border="0" width="90%" cellpadding="2" cellspacing="0" align="center" bgcolor="#000000"><tr><td><table width="100%" border="0" cellspacing="1" cellpadding="3" bgcolor="#fffacd"><tr><td align="center"><h1>The XSLT C library for GNOME</h1><h2>The programming API</h2></td></tr></table></td></tr></table></td></tr></table><table border="0" cellpadding="4" cellspacing="0" width="100%" align="center"><tr><td bgcolor="#8b7765"><table border="0" cellspacing="0" cellpadding="2" width="100%"><tr><td valign="top" width="200" bgcolor="#8b7765"><table border="0" cellspacing="0" cellpadding="1" width="100%" bgcolor="#000000"><tr><td><table width="100%" border="0" cellspacing="1" cellpadding="3"><tr><td colspan="1" bgcolor="#eecfa1" align="center"><center><b>Main Menu</b></center></td></tr><tr><td bgcolor="#fffacd"><form action="search.php" enctype="application/x-www-form-urlencoded" method="get"><input name="query" type="text" size="20" value="" /><input name="submit" type="submit" value="Search ..." /></form><ul><li><a href="index.html">Home</a></li><li><a href="intro.html">Introduction</a></li><li><a href="docs.html">Documentation</a></li><li><a href="bugs.html">Reporting bugs and getting help</a></li><li><a href="help.html">How to help</a></li><li><a href="downloads.html">Downloads</a></li><li><a href="FAQ.html">FAQ</a></li><li><a href="news.html">News</a></li><li><a href="xsltproc2.html">The xsltproc tool</a></li><li><a href="docbook.html">DocBook</a></li><li><a href="API.html">The programming API</a></li><li><a href="python.html">Python and bindings</a></li><li><a href="internals.html">Library internals</a></li><li><a href="extensions.html">Writing extensions</a></li><li><a href="contribs.html">Contributions</a></li><li><a href="EXSLT/index.html" style="font-weight:bold">libexslt</a></li><li><a href="xslt.html">flat page</a>, <a href="site.xsl">stylesheet</a></li><li><a href="html/index.html" style="font-weight:bold">API Menu</a></li><li><a href="ChangeLog.html">ChangeLog</a></li></ul></td></tr></table><table width="100%" border="0" cellspacing="1" cellpadding="3"><tr><td colspan="1" bgcolor="#eecfa1" align="center"><center><b>Related links</b></center></td></tr><tr><td bgcolor="#fffacd"><ul><li><a href="tutorial/libxslttutorial.html">Tutorial</a>,
          <a href="tutorial2/libxslt_pipes.html">Tutorial2</a></li><li><a href="xsltproc.html">Man page for xsltproc</a></li><li><a href="http://mail.gnome.org/archives/xslt/">Mail archive</a></li><li><a href="http://xmlsoft.org/">XML libxml2</a></li><li><a href="ftp://xmlsoft.org/">FTP</a></li><li><a href="http://www.zlatkovic.com/projects/libxml/">Windows binaries</a></li><li><a href="http://garypennington.net/libxml2/">Solaris binaries</a></li><li><a href="http://www.explain.com.au/oss/libxml2xslt.html">MacOsX binaries</a></li><li><a href="http://bugzilla.gnome.org/buglist.cgi?product=libxslt">Bug Tracker</a></li><li><a href="http://codespeak.net/lxml/">lxml Python bindings</a></li><li><a href="http://cpan.uwinnipeg.ca/dist/XML-LibXSLT">Perl XSLT bindings</a></li><li><a href="http://www.zend.com/php5/articles/php5-xmlphp.php#Heading17">XSLT with PHP</a></li><li><a href="http://www.mod-xslt2.com/">Apache module</a></li><li><a href="http://sourceforge.net/projects/libxml2-pas/">Pascal bindings</a></li><li><a href="http://xsldbg.sourceforge.net/">Xsldbg Debugger</a></li></ul></td></tr></table><table width="100%" border="0" cellspacing="1" cellpadding="3"><tr><td colspan="1" bgcolor="#eecfa1" align="center"><center><b>API Indexes</b></center></td></tr><tr><td bgcolor="#fffacd"><ul><li><a href="APIchunk0.html">Alphabetic</a></li><li><a href="APIconstructors.html">Constructors</a></li><li><a href="APIfunctions.html">Functions/Types</a></li><li><a href="APIfiles.html">Modules</a></li><li><a href="APIsymbols.html">Symbols</a></li></ul></td></tr></table></td></tr></table></td><td valign="top" bgcolor="#8b7765"><table border="0" cellspacing="0" cellpadding="1" width="100%"><tr><td><table border="0" cellspacing="0" cellpadding="1" width="100%" bgcolor="#000000"><tr><td><table border="0" cellpadding="3" cellspacing="1" width="100%"><tr><td bgcolor="#fffacd"><p>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 information, look at the<a href="html/libxslt-lib.html"> generated pages</a> for the API and the source
of libxslt/xsltproc.c  and the  <a href="tutorial/libxslttutorial.html">tutorial</a>.</p><p>Basically doing an XSLT transformation can be done in a few steps:</p><ol>
  <li>configure the parser for XSLT:
    <p>xmlSubstituteEntitiesDefault(1);</p>
    <p>xmlLoadExtDtdDefaultValue = 1;</p>
  </li>
  <li>parse the stylesheet with xsltParseStylesheetFile()</li>
  <li>parse the document with xmlParseFile()</li>
  <li>apply the stylesheet using xsltApplyStylesheet()</li>
  <li>save the result using xsltSaveResultToFile() if needed set
    xmlIndentTreeOutput to 1</li>
</ol><p>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.</p><p><a href="bugs.html">Daniel Veillard</a></p></td></tr></table></td></tr></table></td></tr></table></td></tr></table></td></tr></table></body></html>

Directory Contents

Dirs: 5 × Files: 53

Name Size Perms Modified Actions
EXSLT DIR
- drwxr-xr-x 2025-06-12 05:08:05
Edit Download
html DIR
- drwxr-xr-x 2025-06-12 05:08:05
Edit Download
images DIR
- drwxr-xr-x 2017-11-02 20:34:29
Edit Download
tutorial DIR
- drwxr-xr-x 2025-06-12 05:08:05
Edit Download
tutorial2 DIR
- drwxr-xr-x 2025-06-12 05:08:05
Edit Download
6.61 KB lrw-r--r-- 2017-10-06 07:10:49
Edit Download
27.48 KB lrw-r--r-- 2017-11-02 20:34:29
Edit Download
26.72 KB lrw-r--r-- 2017-11-02 20:34:29
Edit Download
42.99 KB lrw-r--r-- 2017-11-02 20:34:29
Edit Download
40.46 KB lrw-r--r-- 2017-11-02 20:34:29
Edit Download
37.08 KB lrw-r--r-- 2017-11-02 20:34:29
Edit Download
27.60 KB lrw-r--r-- 2017-11-02 20:34:29
Edit Download
27.83 KB lrw-r--r-- 2017-11-02 20:34:29
Edit Download
27.97 KB lrw-r--r-- 2017-11-02 20:34:29
Edit Download
28.93 KB lrw-r--r-- 2017-11-02 20:34:29
Edit Download
29.84 KB lrw-r--r-- 2017-11-02 20:34:29
Edit Download
50.83 KB lrw-r--r-- 2017-11-02 20:34:29
Edit Download
28.34 KB lrw-r--r-- 2017-11-02 20:34:29
Edit Download
37.44 KB lrw-r--r-- 2017-11-02 20:34:29
Edit Download
7.39 KB lrw-r--r-- 2017-11-02 20:34:29
Edit Download
13.87 KB lrw-r--r-- 2017-11-02 20:34:29
Edit Download
57.84 KB lrw-r--r-- 2017-11-02 20:34:29
Edit Download
52.00 KB lrw-r--r-- 2017-11-02 20:34:29
Edit Download
56.64 KB lrw-r--r-- 2017-11-02 20:34:29
Edit Download
12.11 KB lrw-r--r-- 2017-10-06 07:10:49
Edit Download
10.08 KB lrw-r--r-- 2009-05-12 06:29:34
Edit Download
7.43 KB lrw-r--r-- 2017-10-06 07:10:49
Edit Download
9.09 KB lrw-r--r-- 2017-10-06 07:10:49
Edit Download
6.10 KB lrw-r--r-- 2017-10-06 07:10:49
Edit Download
7.29 KB lrw-r--r-- 2017-10-06 07:10:49
Edit Download
10.54 KB lrw-r--r-- 2009-05-12 06:29:34
Edit Download
1.86 KB lrw-r--r-- 2009-05-12 06:29:34
Edit Download
22.21 KB lrw-r--r-- 2017-10-06 07:10:49
Edit Download
7.37 KB lrw-r--r-- 2017-10-06 07:10:49
Edit Download
3.71 KB lrw-r--r-- 2009-05-12 06:29:34
Edit Download
6.53 KB lrw-r--r-- 2017-10-06 07:10:49
Edit Download
6.54 KB lrw-r--r-- 2017-10-06 07:10:49
Edit Download
28.17 KB lrw-r--r-- 2017-10-06 07:10:49
Edit Download
6.33 KB lrw-r--r-- 2017-10-06 07:10:49
Edit Download
6.45 KB lrw-r--r-- 2017-11-02 20:34:32
Edit Download
14.00 KB lrw-r--r-- 2017-11-02 20:34:32
Edit Download
218.12 KB lrw-r--r-- 2017-11-02 20:34:32
Edit Download
2.96 KB lrw-r--r-- 2009-05-12 06:29:34
Edit Download
8.00 KB lrw-r--r-- 2009-05-12 06:29:34
Edit Download
347.85 KB lrw-r--r-- 2017-11-02 20:34:32
Edit Download
61.50 KB lrw-r--r-- 2017-10-06 07:10:49
Edit Download
4.81 KB lrw-r--r-- 2009-05-12 06:29:34
Edit Download
4.47 KB lrw-r--r-- 2009-05-12 06:29:34
Edit Download
8.99 KB lrw-r--r-- 2009-05-12 06:29:34
Edit Download
15.60 KB lrw-r--r-- 2017-10-06 07:10:49
Edit Download
697 B lrw-r--r-- 2009-05-12 06:29:34
Edit Download
2.71 KB lrw-r--r-- 2009-05-12 06:29:34
Edit Download
6.88 KB lrw-r--r-- 2009-05-12 06:29:34
Edit Download
8.78 KB lrw-r--r-- 2009-05-12 06:29:34
Edit Download
1.98 KB lrw-r--r-- 2009-05-12 06:29:34
Edit Download
128.04 KB lrw-r--r-- 2017-10-06 07:10:18
Edit Download
9.25 KB lrw-r--r-- 2012-09-04 14:26:23
Edit Download
6.92 KB lrw-r--r-- 2017-10-06 07:10:49
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).