atom feed7 messages in org.oasis-open.lists.docbook-appsRe: DOCBOOK-APPS: How to structure XS...
FromSent OnAttachments
Dan YorkJul 30, 2001 1:02 pm 
Dave Brooks, BCS SystemsJul 30, 2001 2:31 pm 
Jack CushmanJul 30, 2001 2:32 pm 
Jirka KosekJul 30, 2001 2:32 pm 
Bob StaytonJul 30, 2001 4:20 pm 
Bob StaytonJul 30, 2001 4:40 pm 
Norman WalshAug 4, 2001 3:52 pm 
Subject:Re: DOCBOOK-APPS: How to structure XSL stylesheets for chunking andnon-chunking
From:Dave Brooks, BCS Systems (da@bcs.co.nz)
Date:Jul 30, 2001 2:31:59 pm
List:org.oasis-open.lists.docbook-apps

At 15:43 30/07/01 -0400, Dan York wrote:

So I have a system that works... why I am asking the question? Well, does anyone have a better way to do this? Is there any way to NOT have to have two separate stylesheets for chunking or non-chunking? Is there a way I can have *one* call and call it differently?

Or is the solution I have come up with the best way to do it?

Do XSLT processors have any general way of setting parameters in the style sheet. ie. start with: <xsl:stylesheet .....> <xsl:param name="option"/>

Then can $option be set when XSLT is called, and used to determine what gets imported, etc.

This can be done in PHP with the Sablotron functions. (I've found the combination of PHP and XSLT to be a powerful tool for creating web pages).

Regards,

Dave