discuss: LDP XSLT stylesheet (was Re: Gnome Help 2.0)
Subject:
Re: LDP XSLT stylesheet (was Re: Gnome Help 2.0)
From:
Poet/Joshua Drake ####@####.####
Date:
18 Jul 2001 19:04:47 -0000
Message-Id: <Pine.LNX.4.30.0107181202450.15445-100000@commandprompt.com>
Personally I have not YET touched XSLT
On Wed, 18 Jul 2001, Dan York wrote:
>Folks,
>
>> into HTML for rendering. I certainly agree that customizations are
>> needed, since the GNOME customizations probably aren't appropraite for
>> the LDP docs, and vice-versa. I'm not sure how we'll find the
>> stylesheets, perhaps John can answer better than I.
>
>Okay, am I the *only* one from here subscribed to the ####@####.####
>mailing list? I sent out a sample LDP XSLT stylesheet to that list back
>on July 5th:
>
>http://list.linuxdoc.org/archive/index.htm?2:mss:101:200107:blelgagecbakmkflfgfc
>
>There were *no* comments about it, so I assumed everyone else was either:
>a) too busy; or b) not experimenting with XSLT. I guess I did not
>consider that there could be "c) most people are not subscribed to the list".
>
>Anyway, here it is again attached. I tried to go through 'ldp.dsl' and
>come up with equivalents in XSLT. I got many of our customizations, although
>there are a couple of things (like legal notices on a separate page) that
>Norm has not yet implemented in his stylesheets.
>
>I named the stylesheet 'ldp-html-chunk.xsl' because it chunks out a
>DocBook XML document into many different (linked) HTML files. Rather
>than the style of 'ldp.dsl' where we have a single stylesheet that is
>called differently for print and HTML, I would recommend that we have
>different stylesheets for use depending on whether you want to chunk
>the document or create a single HTML page.
>
>And since the single HTML page and chunking would be identical except
>for the underlying file from Norm's stylesheets that is called
>('docbook.xsl' vs. 'chunk.xsl'), it might be worthwhile to have
>an 'ldp-html-common.xsl' that was then imported into
>'ldp-html-chunk.xsl' and 'ldp-html-single.xsl'. Each of those two
>files could simply be something like (depending on paths):
>
> <?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-xsl-1.40/html/chunk.xsl"/>
> <xsl:import href="ldp-html-common.xsl"/>
> </xsl:stylesheet>
>
>In any event, here's an XSLT customization layer for folks to try out.
>It should do most of what ldp.dsl does.
>
>Regards,
>Dan
>
>~
>~
>~
>
--
--
<COMPANY>CommandPrompt - http://www.commandprompt.com </COMPANY>
<PROJECT>OpenDocs, LLC. - http://www.opendocs.org </PROJECT>
<PROJECT>LinuxPorts - http://www.linuxports.com </PROJECT>
<WEBMASTER>LDP - http://www.linuxdoc.org </WEBMASTER>
--
Instead of asking why a piece of software is using "1970s technology,"
start asking why software is ignoring 30 years of accumulated wisdom.
--