[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: creating frames with xsl without javascript
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|