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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format