This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
XSL transformation within an IFRAME
- To: xsl-list at lists dot mulberrytech dot com
- Subject: [xsl] XSL transformation within an IFRAME
- From: "Bryant, Jeff" <Jeff dot Bryant at fiserv dot com>
- Date: Thu, 20 Sep 2001 10:53 -0500
- Hop-Count: 1
- Reply-To: xsl-list at lists dot mulberrytech dot com
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