A couple of areas :-(
1. I think my xslt is incorrect for the output xml. It renders correctly but adds the html, head, and body tags.
Code:
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xsl:output omit-xml-declaration="no" method="xml" indent="yes"/>
<xsl:param name="SortCol" />
<xsl:param name="SortDir" />
<xsl:param name="SortType" />
<xsl:template match="worldheritage">
<xsl:value-of select="$SortDir" />
<xsl:for-each select="row">
<xsl:sort order="{$SortDir}" select="*[name()=$SortCol]" data-type="{$SortType}" />
<xsl:copy-of select="."/>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
2. Client-side how do I pass parameters? I'm using the Microsoft.XMLDOM parser.
Code:
xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
xmlDoc.async = false;
xmlDoc.load(sFile);
xmlObj = xmlDoc.documentElement;
I need to add the xslt and pass in the parameters.
Thanks,
Victor
--
Victor Corey