Having an issue where both my xml and xsl are parsing fine (when viewed in firefox) but when combined together, throw an error:
Error loading stylesheet: Parsing an XSLT stylesheet failed.
(I noticed a suimilar post but was reccommended by the system to start a new thread, as it was a year old)
Betting it's something simple I can kick myself for...
my xml (trimmed):

<?xml version="1.0"?>
<?xml-stylesheet href="reporting.xsl" type="text/xsl"?>
<Report>
	<Overview>in progress</Overview>
	<Header>
		<Field>
			<Name>Date</Name>
			<Type>date</Type>
		</Field>
		<Field>
			<Name>Status</Name>
			<Type>string</Type>
		</Field>
		<Field>
			<Name>Product1</Name>
			<Type>currency</Type>
		</Field>
		<Field>
			<Name>Product2</Name>
			<Type>currency</Type>
		</Field>
		<Field>
			<Name>Total</Name>
			<Type>currency</Type>
		</Field>
	</Header>
	<Results>
		<Result>
			<Field>
				<Value>04/09/2006</Value>
				<Sort>1144558800</Sort>
			</Field>
			<Field>
				<Value>Approved</Value>
				<Sort>1</Sort>
			</Field>
			<Field>
				<Value>$598.06</Value>
				<Sort>598.06</Sort>
			</Field>
			<Field>
				<Value>$749.67</Value>
				<Sort>749.67</Sort>
			</Field>
			<Field>
				<Value>$2,872.54</Value>
				<Sort>2872.54</Sort>
			</Field>
		</Result>
		<Result>
			<Field>
				<Value>05/09/2006</Value>
				<Sort>1147150800</Sort>
			</Field>
			<Field>
				<Value>Approved</Value>
				<Sort>1</Sort>
			</Field>
			<Field>
				<Value>$274.29</Value>
				<Sort>274.29</Sort>
			</Field>
			<Field>
				<Value>$815.49</Value>
				<Sort>815.49</Sort>
			</Field>
			</Field>
			<Field>
				<Value>$1,788.34</Value>
				<Sort>1788.34</Sort>
			</Field>
		</Result>
	</Results>
</Report>

my xsl:

<?xml version='1.0' encoding='ISO-8859-1'?>
<xsl:stylesheet version='1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>
	<xsl:output method='html' indent='yes' media-type='text/html' />

	<xsl:template match='/'>
		<xsl:apply-templates />
	</xsl:template>

	<xsl:template match='Overview'>
		<h1>Overview</h1>
	</xsl:template>

	<xsl:template match='Header'>
		<tr>
			<xsl:for-each match='Field'>
				<th><xsl:value-of select='Name' /></th>
			</xsl:for-each>
		</tr>
	</xsl:template>

	<xsl:template match='Results'>
		<table>
			<tbody>
				<xsl:for-each select='Result'>
					<xsl:call-template name='Result' />
				</xsl:for-each>
			</tbody>
		</table>
	</xsl:template>

	<xsl:template name='Result'>
		<tr>
			<xsl:for-each match='Field'>
				<td><xsl:value-of select='Value' /></td>
			</xsl:for-each>
		</tr>
	</xsl:template>

</xsl:stylesheet>

OK, figured it out :)
1) not an error as such, but the result would have put the header rows before the table, so restructured the xml and xsl to put teh header inside the result xml and html table.
2) the actual error: something dumb: <xsl:for-each match='Field'> should be: <xsl:for-each select='Field'> firefox (at least) doesnt see that as an error (and I guess it's not exactly an error, but.. it is.)

This question has already been answered. Start a new discussion instead.