I have both MSXML3 and IE 6 running on my development machine, but I can't figure out how to pass the parameter in correctly. I am setting a default value for the parameter in the xsl file, and the query runs perfectly. When I pass in a new parameter, the query results don't change, and when I remove the default value in the xsl file the query fails altogether.
Following are abbreviated snippets from my xml and xsl files:
=======================================================
XML
<?xml version="1.0" ?>
<?xml-stylesheet type="text/xsl" href="c:\invoice.xsl"?>
<TVAIM>
<Batch>
<BatchNumber>1</BatchNumber>
<BatchDate>11/07/2001</BatchDate>
<Invoice BatchNumber="1" ID="1">
<BeginningDate>12:00:00 AM</BeginningDate>
<ContractNumber></ContractNumber>
<CostClassification></CostClassification>
<CostCode></CostCode>
<EmployeeInit></EmployeeInit>
<EndingDate>12:00:00 AM</EndingDate>
<ExportFileLocation></ExportFileLocation>
<HTMLFileLocation></HTMLFileLocation>
<InvoiceAmount>0</InvoiceAmount>
<InvoiceNumber>122</InvoiceNumber>
<InvoiceType></InvoiceType>
<Location></Location>
<PerformingUnit></PerformingUnit>
<RDNumber></RDNumber>
<TVAShortCode></TVAShortCode>
<VendorNumber></VendorNumber>
<TaskNumber></TaskNumber>
</Invoice>
XSL
<xsl:stylesheet version='1.0' xmlns:xsl='
<xsl

aram name="InvoiceID">1</xsl

aram>
<xsl:template match="/">
<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<xsl:for-each select="TVAIM/Batch">
<xsl:apply-templates select="Invoice[@ID=@InvoiceNumber]"></xsl:apply-templates>
</xsl:for-each>
<xsl:template match="Invoice">
<TABLE align="center" border="1" cellPadding="0" cellSpacing="1" width="480" id="TABLE1" borderColor="silver">
<TR>
<TD align="left"><STRONG><FONT face="Tahoma">Invoice Number</FONT> </STRONG> </TD>
<TD align="left"><FONT face="Tahoma"><xsl:value-of select="InvoiceNumber" /></FONT></TD></TR>
</xsl:template>
</xsl:stylesheet>
=====================================================
Any suggestions on how I can make this thing work?
Thanks,
Greg