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

RE: creating frames with xsl without javascript

Subject: RE: creating frames with xsl without javascript
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Fri, 20 May 2005 10:01:32 -0400
javascript create frame
Stephen,

You will need to generate several HTML files to implement frames, just as if you were doing it by hand.

This can be done either of two ways:

1 Using script to run XSLT on the client

2 Running XSLT on the server (or in batch mode) and generating static HTML which will come in as plain HTML to the client

You didn't say which way you're working, but since option 2 is probably the way to go (better for avoiding browser dependencies), I'll address that.

Let's say you are generating four files, one for the page and three for the frames in the page. This can be done either by running a single stylesheet four times (with a parameter trigger), by running as many as four different stylesheets (with or without parameters to "glue" them), or by running a single stylesheet once and using an extension function to generate four different output files. Which of these is best depends on your processing framework. (For example, the last is particularly good when running a batch process.)

In any case, you will have control over what their output files are named -- and whatever you decide (and however you decide to generate these names and pass them around if necessary), those are the names that will be used to call in the frame content.

If you tell us which XSLT processor you are using, and/or confirm that you are running these transformations on the server (or in batch mode), we can direct you further as to how best to create your several outputs from the single input. (Or you could research this problem on your own. Hint: look at how exsl:document is described at http://exslt.org/exsl/index.html.)

Charles or anyone else who tries to help will need to know this ... since the question is on the boundary between XSLT and the environments it can run in, there are actually several correct answers.

Cheers,
Wendell


At 07:47 PM 5/19/2005, you wrote:
How about a clue please

the frame element requires a url,

how can I fill or set the contents of the frame element ???



====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================

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.