source: stylesheets/lfs-xsl/docbook-xsl-1.78.1/extensions/README.LIBXSLT@ 111bb20

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 12.2-rc1 7.6 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 111bb20 was 15c7d39, checked in by Matthew Burgess <matthew@…>, 11 years ago

Update stylesheets to docbook-xsl-1.78.1.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10355 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 2.2 KB
Line 
1----------------------------------------------------------------------
2 README file for the libxslt extensions
3----------------------------------------------------------------------
4$Id: README.LIBXSLT 7877 2008-03-08 04:07:52Z xmldoc $
5
6These are XSLT extensions written in Python for use with the DocBook XML
7stylesheets and the libxslt library[1].
8
9Currently, the only available extension is a function for adjusting column
10widths in tables. For more information, see the section describing the
11equivalent Java extension in "DocBook XSL: The Complete Guide"[2].
12
13----------------------------------------------------------------------
14Preparations
15----------------------------------------------------------------------
16In addition to libxml2 and libxslt, the following software needs to
17be installed before you start using the extensions:
18
191. Python[3].
20
212. Python bindings for libxml2/libxslt. Most distributions of
22 libxml2/libxslt for Unix/Linux include these bindings.
23 A native Windows port is provided by Stéphane Bidoul[4].
24
25----------------------------------------------------------------------
26Installation of the extensions
27----------------------------------------------------------------------
28No special installation step is needed.
29
30----------------------------------------------------------------------
31How to use the extensions
32----------------------------------------------------------------------
33Instead of using xsltproc, you run a Python program (xslt.py). The
34command has this general form:
35
36python xslt.py xmlfile xslfile [outputfile] [param1=val1 [param2=val]...]
37
38Modify paths, filenames, and parameters as needed. Make sure to set
39the "use.extensions" and "tablecolumns.extension" parameters to 1.
40
41----------------------------------------------------------------------
42Manifest
43----------------------------------------------------------------------
44README.LIBXSLT This file
45xslt.py Executable script file
46docbook.py Module that implements extensions
47
48----------------------------------------------------------------------
49[1] http://xmlsoft.org/XSLT
50[2] http://www.sagehill.net/docbookxsl/ColumnWidths.html
51[3] http://www.python.org/download
52[4] http://users.skynet.be/sbi/libxml-python
Note: See TracBrowser for help on using the repository browser.