This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

XSL transformation within an IFRAME


Guys,

This question is probably more about html than XSL but then again it may not 
be.  

On an html page we are trying to include an iframe who's source points to an 
XML file.  The target browser is IE 5+, and we have applied SP1 to MSXML.

Here's some code snippets-

<iframe src="session.xml" marginwidth="0px" marginheight="0px" width="100%" 
frameborder="0" scrolling="no"></iframe>


session.xml 
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="xsl/session.xsl"?>
<session>
 ...
</session>


session.xsl
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0">
 <xsl:template match="/">
  ...
 </xsl:template>
</xsl:stylesheet>



The problem that we are experiencing is that output of the XSL/XML translation 
does not fill the entire iframe area.  There is a border around the content.   
The reason we believe this is an issue with the XSL parser is that when 
replacing the src element with any other target, everything displays as 
expected. 

any ideas?



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]