summaryrefslogtreecommitdiff
path: root/doc/xml.html
diff options
context:
space:
mode:
authorMike Hommey <mh@glandium.org>2005-02-05 12:06:19 +0000
committerMike Hommey <mh@glandium.org>2005-02-05 12:06:19 +0000
commita7457388701e6ccba9091ba3ec09505dc903b758 (patch)
tree80a7d0fba3968fee73cc71a62ffe1af039396f29 /doc/xml.html
parentf51dd67f3a3f472af0620391eb588eeca4533689 (diff)
downloadlibxml2-a7457388701e6ccba9091ba3ec09505dc903b758.tar.gz
Load /tmp/tmp.5kkLmZ/libxml2-2.6.17 intoupstream/2.6.17
packages/libxml2/branches/upstream/current.
Diffstat (limited to 'doc/xml.html')
-rw-r--r--doc/xml.html77
1 files changed, 75 insertions, 2 deletions
diff --git a/doc/xml.html b/doc/xml.html
index e0e484f..fbb0d33 100644
--- a/doc/xml.html
+++ b/doc/xml.html
@@ -315,6 +315,41 @@ libxml2</p>
<p><code>CFLAGS=`xml2-config --cflags`</code></p>
<p><code>LIBS=`xml2-config --libs`</code></p>
</li>
+ <li><em>I want to install my own copy of libxml2 in my home directory and link
+ my programs against it, but it doesn't work</em>
+ <p>There are many different ways to accomplish this. Here is one way to
+ do this under Linux. Suppose your home directory is <code>/home/user.
+ </code>Then:</p>
+ <ul><li>Create a subdirectory, let's call it <code>myxml</code></li>
+ <li>unpack the libxml2 distribution into that subdirectory</li>
+ <li>chdir into the unpacked distribution (<code>/home/user/myxml/libxml2
+ </code>)</li>
+ <li>configure the library using the "<code>--prefix</code>" switch,
+ specifying an installation subdirectory in <code>/home/user/myxml</code>,
+ e.g.
+ <p><code>./configure --prefix /home/user/myxml/xmlinst</code> {other
+ configuration options}</p></li>
+ <li>now run <code>make</code> followed by <code>make install</code></li>
+ <li>At this point, the installation subdirectory contains the complete
+ "private" include files, library files and binary program files (e.g.
+ xmllint), located in
+ <p> <code>/home/user/myxml/xmlinst/lib, /home/user/myxml/xmlinst/include
+ </code> and <code> /home/user/myxml/xmlinst/bin</code></p>
+ respectively.</li>
+ <li>In order to use this "private" library, you should first add it
+ to the beginning of your default PATH (so that your own private
+ program files such as xmllint will be used instead of the normal
+ system ones). To do this, the Bash command would be
+ <p><code>export PATH=/home/user/myxml/xmlinst/bin:$PATH</code></p></li>
+ <li>Now suppose you have a program <code>test1.c</code> that you would
+ like to compile with your "private" library. Simply compile it
+ using the command <p><code>gcc `xml2-config --cflags --libs` -o test
+ test.c</code></p> Note that, because your PATH has been set with <code>
+ /home/user/myxml/xmlinst/bin</code> at the beginning, the
+ xml2-config program which you just installed will be used instead of
+ the system default one, and this will <em>automatically</em> get the
+ correct libraries linked with your program.</li></ul>
+ </li><p/>
<li><em>xmlDocDump() generates output on one line.</em>
<p>Libxml2 will not <strong>invent</strong> spaces in the content of a
document since <strong>all spaces in the content of a document are
@@ -628,8 +663,8 @@ href="http://xmlsoft.org/sources/win32/">win32</a> directory.</p>
maintainer of the Windows port, <a
href="http://www.zlatkovic.com/projects/libxml/index.html">he provides
binaries</a>.</li>
- <li><a href="mailto:Gary.Pennington@sun.com">Gary Pennington</a> provides
- <a href="http://garypennington.net/libxml2/">Solaris binaries</a>.</li>
+ <li>Blastwave provides
+ <a href="http://www.blastwave.org/packages.php/libxml2">Solaris binaries</a>.</li>
<li><a href="mailto:Steve.Ball@zveno.com">Steve Ball</a> provides <a
href="http://www.zveno.com/open_source/libxml2xslt.html">Mac Os X
binaries</a>.</li>
@@ -680,6 +715,34 @@ to the <a href="http://cvs.gnome.org/viewcvs/libxml2/">CVS</a> code base.</p>
<p>There is the list of public releases:</p>
+<h3>2.6.17: Jan 16 2005</h3>
+<ul>
+ <li>build fixes: Windows, warnings removal (William Brack),
+ maintainer-clean dependency(William), build in a different directory
+ (William), fixing --with-minimum configure build (William), BeOS
+ build (Marcin Konicki), Python-2.4 detection (William), compilation
+ on AIX (Dan McNichol)</li>
+ <li>bug fixes: xmlTextReaderHasAttributes (Rob Richards), xmlCtxtReadFile()
+ to use the catalog(s), loop on output (William Brack), XPath memory leak,
+ ID deallocation problem (Steve Shepard), debugDumpNode crash (William),
+ warning not using error callback (William), xmlStopParser bug (William),
+ UTF-16 with BOM on DTDs (William), namespace bug on empty elements
+ in push mode (Rob Richards), line and col computations fixups (Aleksey
+ Sanin), xmlURIEscape fix (William), xmlXPathErr on bad range (William),
+ patterns with too many steps, bug in RNG choice optimization, line
+ number sometimes missing.
+ </li>
+ <li>improvements: XSD Schemas (Kasimier Buchcik), python generator (William),
+ xmlUTF8Strpos speedup (William), unicode Python strings (William),
+ XSD error reports (Kasimier Buchcik), Python __str__ call serialize().
+ </li>
+ <li>new APIs: added xmlDictExists(), GetLineNumber and GetColumnNumber
+ for the xmlReader (Aleksey Sanin), Dynamic Shared Libraries APIs
+ (mostly Joel Reed), error extraction API from regexps, new XMLSave
+ option for format (Phil Shafer)</li>
+ <li>documentation: site improvement (John Fleck), FAQ entries (William).</li>
+</ul>
+
<h3>2.6.16: Nov 10 2004</h3>
<ul>
<li>general hardening and bug fixing crossing all the API based on new
@@ -2252,6 +2315,16 @@ or libxslt wrappers or bindings:</p>
libxslt as part of GNU ClasspathX project.</li>
<li>Patrick McPhee provides Rexx bindings fof libxml2 and libxslt, look for
<a href="http://www.interlog.com/~ptjm/software.html">RexxXML</a>.</li>
+ <li><a href="http://www.satimage.fr/software/en/xml_suite.html">Satimage</a>
+ provides <a
+ href="http://www.satimage.fr/software/en/downloads_osaxen.html">XMLLib
+ osax</a>. This is an osax for Mac OS X with a set of commands to
+ implement in AppleScript the XML DOM, XPATH and XSLT. Also includes
+ commands for Property-lists (Apple's fast lookup table XML format.)</li>
+ <li>Francesco Montorsi developped
+<a href="https://sourceforge.net/project/showfiles.php?group_id=51305&amp;package_id=45182">wxXml2</a>
+ wrappers that interface libxml2, allowing wxWidgets applications to
+ load/save/edit XML instances.</li>
</ul>
<p>The distribution includes a set of Python bindings, which are guaranteed