This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Generating a FrameSet from a XML document
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Generating a FrameSet from a XML document
- From: Matt Sergeant <matt at sergeant dot org>
- Date: Tue, 11 Jul 2000 15:52:55 +0100 (BST)
- Reply-To: xsl-list at mulberrytech dot com
On Tue, 11 Jul 2000, Kay Michael wrote:
> > I'm starting to design a Cocoon1-based web site and I would
> > like to use a
> > frameset with the usual "navigation frame" on the left side, the "main
> > content frame" on the right, maybe a "banner frame" on the
> > top... the usual
> > frame-based layout you can see in most web sites.
> >
> > I wonder: how can I generate the frameset and the frames from my XML
> > document?
>
> If you are doing the transform server-side you can achieve this using the
> "multiple output documents" extension that is present in many XSLT
> processors.
Actually with a dynamic engine like Cocoon this isn't the best avenue to
try and pursue. I suggest looking into <xsl:if> for determining which
frame you're in based on the querystring. I'm sure the cocoon samples
directory has examples of using <xsl:if> based on the querystring.
--
<Matt/>
Fastnet Software Ltd. High Performance Web Specialists
Providing mod_perl, XML, Sybase and Oracle solutions
Email for training and consultancy availability.
http://sergeant.org | AxKit: http://axkit.org
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list