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


From: "CROFT, MICHAEL" <MCROFT@xxxxxxxxx>
Date: Wed, 18 Sep 2002 10:05:57 -0400

		Does anyone know how to have the I.E 6.0 browser output a
rendered XML document using XSLT as an HTML document.  I am using the
<xsl:output method="html"/> and this doesn't seem to work.  It still
generates an XML document.  Here is an excerpt from my code:

		<?xml version="1.0" encoding="UTF-8"?>
		<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format">
		<xsl:output method="html"/>
		<!--Main processing component for the FNOL report:  Design,
Code, & Functional Requirements implemented by Michael Croft-->
			<xsl:include href="ClaimFileIdentification.xsl"/>
			<xsl:include href="LossDetails.xsl"/>
			<xsl:include href="InvolvedParties.xsl"/>
			<xsl:include href="Claims.xsl"/>
			
			<xsl:template match="/">
				<html>
					<head>
						<link rel="stylesheet"
type="text/css" href="AutoHtmlStyleSheet.css"/>
						<title>
							Amica FNOL Auto
Claim Telephone Report
						</title>
					</head>
					<body>
						<hr size="2"/>
						<table width="95%"
align="center" border="0">
							<tr>
								<td
colspan="4">
									<img
src="spacer.gif" height="1" width="550" alt=""/>
								</td>
							</tr>
							<tr>
								<td>
									<p
class="mainHeader">Telephone Loss Report</p>
								</td>
							</tr>
						</table>
						<hr size="2"/>
						<!-- These are the 3 primary
node contexts that will provide the information for the report.-->
						<xsl:apply-templates
select="//InsClaims"/>
						<xsl:apply-templates
select="//ListOfInsClaimsContact"/>
						<xsl:apply-templates
select="//ListOfInsClaimsElements"/>
					</body>
				</html>
			</xsl:template>
			<xsl:template match="//InsClaims">
				<xsl:call-template
name="ClaimFileIdentification"/>
				<xsl:call-template name="LossDetails"/>
			</xsl:template>
			<xsl:template match="//ListOfInsClaimsContact">
				<xsl:call-template name="InvolvedParties"/>
			</xsl:template>
			<xsl:template match="//ListOfInsClaimsElements">
				<xsl:call-template name="Claims"/>
			</xsl:template>
		</xsl:stylesheet>


		Mike


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the sender and postmaster@xxxxxxxxxx
**********************************************************************
 


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



Current Thread
Keywords