[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]


From: Richard Lander <relander@xxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 06 May 1998 09:16:49 -0400

 Amit,

I think that your main problems are your use of <BODY> and <H2> in your
<root/> rule. The HTML 4.0 spec states that: 

	"elements that might normally be placed in the <BODY> element must not
appear before the first 	<FRAMESET> element or the <FRAMESET> will be
ignored."

	and

	"A frameset document has a <HEAD>, and a <FRAMESET> in place of the 	<BODY>."

Consider changing your construction rule to:

 <rule>
  <root/>
  <HTML>
   <HEAD>
    <TITLE>I hope this works</TITLE>
   </HEAD>
   <OBJECT>
    <FRAMESET rows="50%, 50%">
     <FRAME src="FIRST.htm">     
     <FRAME src="SECOND.htm">     
    </FRAMESET>
   </OBJECT>
  </HTML>
 </rule>

I hope the above helps.

Richard.


-----Original Message-----
From:	Amit Rekhi [SMTP:amitr@xxxxxxxxxxxxx]
Sent:	Wednesday, May 06, 1998 12:19 PM
To:	xsl-list@xxxxxxxxxxxxxxxx
Subject:	Inclusion of <FRAMESET> in XSL

The action of the following root construction rule has a <FRAMESET> HTML
flow object which is not getting rendered.
The construction rule is :-

 <rule>
  <root/>
   <HTML><TITLE>Title</TITLE>
    <BODY>
    <H2 ALIGN="CENTER">HEADING</H2> 
    <FRAMESET rows="50%, 50%">
      <FRAME src="FIRST.htm">     
      <FRAME src="SECOND.htm">     
    </FRAMESET>
    </BODY>
   </HTML>
  </rule>

According to the XSL Working Draft, <FRAMESET> is one of the supported HTML
flow objects in XSL, but can occur only as a nested element within
<OBJECT>. So i changed my prev. construction rule to :-

 <rule>
  <root/>
   <HTML><TITLE>Title</TITLE>
    <BODY>
    <H2 ALIGN="CENTER">HEADING</H2> 
    <OBJECT>
    <FRAMESET rows="50%, 50%">
      <FRAME src="FIRST.htm">     
      <FRAME src="SECOND.htm">     
    </FRAMESET>
    </OBJECT>
    </BODY>
   </HTML>
  </rule>

But this also does'nt seem to work!!!!
Any Help or Suggestions?
									AMIT

	


    	 



    


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Richard Lander
relander@xxxxxxxxxxxx
http://www.csclub.uwaterloo.ca/u/relander/XML/


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
  • [no subject]
    • Richard Lander - Wed, 06 May 1998 09:16:49 -0400 <=
Keywords
xsl