Subject: Output to Frames using XSL From: Charles Cantrell <chc@xxxxxxxxxxx> Date: Mon, 24 Jul 2000 15:50:20 -0500 |
Leaving aside the question of the appropriateness of frames for output in a browser for a time, I have a template that successfully creates a set of frames in a web page and outputs the content of two xml documents to those frames. (See below.) However, what I would like to do is "replace" the hard coded page references with something like <xsl:apply-templates select="..."/> so that the I could, for example, use the xsl file to create a table of contents from "section" the section tags in one frame, while the complete content of the file would be presented in the other frame. The essential point of this is to render the same content in different ways into multiple frames. If someone could suggest an approach to this, I would appreciate it. If this idea is "wacko", I would be happy to consider completely different methods. Thanks. <xsl:template match="/"> <html> <head> <title>Books and Stuff</title> </head> <frameset rows="80%,20%"> <frameset cols="30%,70%"> <frame src="frame1.xml"/> <frame src="frame2.xml"/> </frameset> <frame src="OSCeras.jpg"/> <noframes> <body> <xsl:apply-templates select="books"/> </body> </noframes> </frameset> </html> </xsl:template> Charles Cantrell XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Testing list acceptance [Please Ign, uche . ogbuji | Thread | RE: Output to Frames using XSL, Kvan |
RE: order-by ... numbers, Daniel Mettler (2sic | Date | Xalan performance, Stephen Kirkham |
Month |