On 5/12/06, Randy McMurchy <[EMAIL PROTECTED]> wrote:
Dan Nicholson wrote these words on 05/12/06 14:34 CST:
> + designed for use with external web browsers, the internal
> + <application>GIMP</application> help browser, and HTML renderers.
> + The tarball only contains the XML sources, so you will need
> + the <command>xsltproc</command> program from <xref linkend="libxslt"/>
> + program to build the HTML files.
I'm not a big fan of saying that only the xsltproc program is
required. You'll need the XML DTD as well, right? And perhaps
a stylesheet. If I'm wrong here, please disregard, but it seems
the DTD wouldn't be included, though it's very possible a
custom stylesheet is, so the XSL stylesheets may not be needed.
I'm certainly not the XML/XSL expert here. I had the XML DTD
installed from the book as well as the XSL stylesheets installed as
per the book. It looks like the XML files expect DocBook XML V4.3.
There is a configure option to enable fetching the stylesheets (or
maybe the DTDs) from the network. There are included stylesheets, but
I can't interpret whether they're all inclusive or not.
xsltproc is invoked with the stylesheet profile.xsl. Here's the
contents of that file:
===
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
<xsl:import
href="http://docbook.sourceforge.net/release/xsl/current/profiling/profile.xsl"
/>
<!-- Generate DocBook instance with correct DOCTYPE -->
<xsl:output method="xml" encoding="utf-8"
doctype-public="-//OASIS//DTD DocBook XML V4.3//EN"
doctype-system="http://www.docbook.org/xml/4.3/docbookx.dtd"/>
<!-- Drop comments -->
<xsl:template match="comment()" mode="profile"></xsl:template>
</xsl:stylesheet>
===
Umm, little help here? :)
How about I create the Optional Documentation section as you said with
libxslt, DocBook XML and DocBook XSL (if you tell me it's needed)?
--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page