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(_at_)mulberrytech(_dot_)com
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
======================================================================
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--