This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: How to structure XSL stylesheets for chunking andnon-chunking
- To: Dan York <dyork at e-smith dot com>, docbook-apps at lists dot oasis-open dot org
- Subject: Re: DOCBOOK-APPS: How to structure XSL stylesheets for chunking andnon-chunking
- From: "Dave Brooks, BCS Systems" <dave at bcs dot co dot nz>
- Date: Tue, 31 Jul 2001 08:32:09 +1200
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
------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org