Guys,

I have an XML file i'm dealing with, and its giving me some trouble. It contains a "noNamespaceSchemaLocation". When I remove this from the XML, all of my transforms work fine. When it is present in the XML, i get nothing.

Heres the XML:

Code:
  <?xml version="1.0" encoding="UTF-8" ?> 
  <Results xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="xyz.xsd">
  <KeywordsRatingSet keywords="superbikesandbabes.com">
  <Market>us</Market> 
  </KeywordsRatingSet>
  <ResultSet id="relatedSearchResults" numResults="20">
  <Category type="related">
  <Search num="1">Superbike</Search> 
  <Search num="2">Boat loan</Search> 
  <Search num="3">Boat insurance</Search> 
  <Search num="4">Scooter</Search> 
  <Search num="5">Gas scooter</Search> 
  <Search num="6">Boat cover</Search> 
  <Search num="7">Motorcycle part</Search> 
  <Search num="8">Babes</Search> 
  <Search num="9">Animation</Search> 
  <Search num="10">Dvd</Search> 
  <Search num="11">Dvd rental</Search> 
  <Search num="12">Sign</Search> 
  <Search num="13">Bird cage</Search> 
  <Search num="14">Video</Search> 
  <Search num="15">Sand</Search> 
  <Search num="16">Art supply</Search> 
  <Search num="17">Scrapbook supply</Search> 
  <Search num="18">Craft supply</Search> 
  <Search num="19">Yarn</Search> 
  <Search num="20">Quilting</Search> 
  </Category>
  </ResultSet>
  </Results>

And here is a XSLT file that works fine when the noNamespace is gone, but returns nothing when its there:


Code:
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:output method="html" />
	<xsl:template match="/">
		<table cellpadding="2" cellspacing="0">
			<xsl:apply-templates select="Results/ResultSet/Category" />
		</table>
	</xsl:template>
	<xsl:template match="Search">
		<tr>
			<td>
				<a href="search.asp?q={text()}" class="desc"><xsl:value-of select="text()" /></a>
			</td>
		</tr>
	</xsl:template>
</xsl:stylesheet>

Any help would be appreciated; I've been stuck on this for a day now, and its slowly killing me.