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

Output to Frames using XSL

Subject: Output to Frames using XSL
From: Charles Cantrell <chc@xxxxxxxxxxx>
Date: Mon, 24 Jul 2000 15:50:20 -0500
xsl frames
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

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.