mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-27 09:42:12 +08:00
78ac71269d
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1324 af4574ff-66df-0310-9fd7-8a98e5e911e0
30 lines
1.4 KiB
XML
30 lines
1.4 KiB
XML
<sect2>
|
|
<title>Configuring <application>DocBook <acronym>XSL</acronym> Stylesheets</application></title>
|
|
|
|
<sect3><title>Config files</title>
|
|
<para><filename>/etc/xml/catalog</filename></para>
|
|
</sect3>
|
|
|
|
<sect3><title>Configuration Information</title>
|
|
|
|
<para>The above installation script creates the files and updates the
|
|
catalog.</para>
|
|
<para>If you would like to test <application>DocBook <acronym>XML</acronym> <acronym>DTD</acronym></application> and
|
|
<application>DocBook <acronym>XSL</acronym> Stylesheets</application> against the
|
|
<acronym>BLFS</acronym> book, use the following command. The command is
|
|
written for a <application><acronym>CVS</acronym></application> checkout to your home directory with output going to the
|
|
present working directory, so make any necessary modifications for your setup.
|
|
<screen><command>xsltproc --nonet -o index.html \
|
|
http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl \
|
|
~/BLFS/BOOK/index.xml</command></screen>
|
|
If successful you should have a <filename>index.html</filename> file that will
|
|
display the <acronym>BLFS</acronym> Book in a browser on a single page. It
|
|
will be formatted by the <application><acronym>XSL</acronym>
|
|
Stylesheets</application>, so it will not match the web published
|
|
<acronym>BLFS</acronym> book, which is formatted by <application>DocBook
|
|
<acronym>DSSSL</acronym> Stylesheets</application>.</para>
|
|
</sect3>
|
|
|
|
</sect2>
|
|
|