[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: AW: WG: frames?

Subject: Re: AW: WG: frames?
From: Markus Spath <mspath@xxxxxxxx>
Date: Tue, 29 Apr 2003 14:49:30 +0200
frameset templates
Anton Wardaschko (PA) wrote:

OK i have read this and it work, but this is not exact, what i wish and it explains not really the questions which i have. (or i'm blind at the moment). Perhaps you can answer them:

1. If i wisch to add the frameset file as a template to the xsl Stylesheet, so from which template of Norm's Stylesheets have i call my own frameset-template file.

2. This framset-template must be automatically chunked, how can i chunk my own templates in separate files?

3. I need in the navigation frame only the toc, not all of the templetes (headers, footnotenavigation), how can i get only the toc in one file. And in the main file there schould be no link to the toc at the navigation at the bottom of chunked files.


just a starter:


usually a good idea when you want to customize the doocbook stylesheets is to start with a customization layer importing one of the available ones, in your case html/chunk.xsl, which you call for your transformation.

--
<?xml version='1.0'?>
<xsl:stylesheet ...>

<xsl:import href="{path}/html/chunk.xsl"/>

</xsl:stylesheet>
---

in there, you can change the default behaviour by setting parameters
- e.g.: <xsl:param name="chunk.section.depth" select="2" /> will produce chunks at sect1 and sect2 elements


or by defining / refining existing templates
- e.g.: <xsl:template name="header.navigation" /> will supress the header navigation.


have a second look at bob staytons tutorial, most parameters are nicely listed there.

if you want your frameset be automatically constructed you probably have to have a look at chunk.xsl, find an appropriate top-level template, copy it to your customization layer and add what you need.

sorry i can't be of any more help,
markus


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.