docbook: Alternative to tag in Docbook


Previous by date: 6 Aug 2002 01:50:19 -0000 Re: Alternative to tag in Docbook, odc
Next by date: 6 Aug 2002 01:50:19 -0000 Re: is the linuxdoc DTD deprecated for LDP?, Lloyd D Budd
Previous in thread: 6 Aug 2002 01:50:19 -0000 Re: Alternative to tag in Docbook, odc
Next in thread: 6 Aug 2002 01:50:19 -0000 Re: Alternative to tag in Docbook, odc

Subject: Re: Alternative to tag in Docbook
From: "John R. Daily" ####@####.####
Date: 6 Aug 2002 01:50:19 -0000
Message-Id: <200208060150.g761oA610812@clmboh1-smtp3.columbus.rr.com>

At (time_t)1028579860 odc wrote:

> Hmm, where would I put a style sheet declaration ? The document I'm working o
> n
> 
> is an LDP-style guide.
> 
> Or is that something I have to do post-parsing ?

Well, if you're using DocBook/XML and XSL, the customized
stylesheet below (with the proper path to your local LDP
stylesheet in the xsl:import statement) should work.

If you're using SGML, you'll have to use DSSSL, and my functional
programming skills aren't up to the task to help much with that,
other than to point to the DocBook Wiki:

  http://docbook.org/wiki/moin.cgi/DocBookDssslStylesheetDocs


<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                version='1.0'
                xmlns="http://www.w3.org/TR/xhtml1/transitional"
                exclude-result-prefixes="#default">

<xsl:import href="/usr/share/sgml/docbook/stylesheet/xsl/ldp/ldp-html.xsl"/>

<xsl:template match="listitem/para">
  <p style="display: inline">
    <xsl:apply-templates/>
  </p>
</xsl:template>

</xsl:stylesheet>

--
John R. Daily
<email><mailbox>john</mailbox><domain>geekhavoc.com</domain></email>


Previous by date: 6 Aug 2002 01:50:19 -0000 Re: Alternative to tag in Docbook, odc
Next by date: 6 Aug 2002 01:50:19 -0000 Re: is the linuxdoc DTD deprecated for LDP?, Lloyd D Budd
Previous in thread: 6 Aug 2002 01:50:19 -0000 Re: Alternative to tag in Docbook, odc
Next in thread: 6 Aug 2002 01:50:19 -0000 Re: Alternative to tag in Docbook, odc


  ©The Linux Documentation Project, 2014. Listserver maintained by dr Serge Victor on ibiblio.org servers. See current spam statz.