OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: website xsl: unused variable (and chunking question)

On Sat, 20 Sep 2003 22:39:22 -0700
Bob Stayton <bobs@sco.com> wrote:


> That's quite an extensive customization!
> Thanks for sharing it.
> I and others are interested in adding the website tabular
> navigation scheme as an option to the regular chunk
> stylesheet, outside of website.  Can you give some guidance
> as to which parts of your customization did that?

I not use tabular schema for visual formatting - only CSS.

Navigation menu is "div.navhead".

CSS part:

/* Hack from threepart.css/threepart-f.css 
   to hide position:fixed and other rules from stupid internet
DIV.navhead {
  position: absolute;
  background-color: #e8e5e8;
  border-right-style: solid;
  border-bottom-style: solid;
  border-color: #87bbdb;
  border-width: thin;
  width: 11em;
  height: auto;
  top: 0em; right: auto; bottom: 0em; left: 0em;
  padding: 0em;
BODY>DIV.webpage>DIV.navhead {
  position: fixed;
  border-bottom-style: none;
/* end of hide hack */

div.navhead added by customization of
<xsl:template name="chunk-element-content">

For integrating chunking with website I'm add support for webpage
root tag:

<xsl:template match="*" mode="recursive-chunk-filename">
      <xsl:when test="parent::webpage">
        <xsl:value-of select="$root.filename"/>
        <xsl:value-of select="$html.ext"/>
    <xsl:when test="self::webpage">
      <!--      <xsl:text>webpage</xsl:text>-->
      <xsl:if test="not($recursive)">
        <xsl:value-of select="$html.ext"/>

Most of my customization is support for "webpage" inside

BTW, support in the DocBook XSL stylesheets for additional
chunking tags (from params) could be useful.

Regards, Vyt
mailto:  vyt@vzljot.ru
JID:     vyt@vzljot.ru

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]