Просто удалите все префиксы */
. Это работает:
<?xml version="1.0" encoding="utf-8" ?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:ms="urn:schemas-microsoft-com:xslt"
xmlns:dt="urn:schemas-microsoft-com:datatypes">
<xsl:output method="html" omit-xml-declaration="yes"/>
<xsl:template match="/ArrayOfTrafficResponseIncident">
<xsl:if test="count(TrafficResponseIncident) > 0">
<xsl:value-of select="count(TrafficResponseIncident)"/>
<table class='searchresults'>
<tr class='header'>
<th class='center'>Incident Number</th>
<th>Date/Time</th>
<th>Type(s)</th>
<th>Location</th>
<th>Created By</th>
</tr>
<xsl:for-each select="TrafficResponseIncident">
<tr>
<td>
<xsl:value-of select="IncidentNumber"/>
</td>
<td>
<xsl:value-of select="ms:format-date(IncidentDate, 'dd/MM/yyyy')"/>
</td>
<td>
</td>
<td>
<xsl:value-of select="Address"/>
<br/>
<xsl:value-of select="Suburb"/>
</td>
<td>
<xsl:value-of select="CreatedBy"/>
</td>
</tr>
</xsl:for-each>
</table>
</xsl:if>
<xsl:if test="count(TrafficResponseIncident) = 0">
<table class='searchresults'>
<tr class='header'>
<th class='center'>Incident Number</th>
<th>Date/Time</th>
<th>Type(s)</th>
<th>Location</th>
<th>Submitted By</th>
</tr>
<tr>
<td colspan='5'>
<div class='noDataFound'>No incident reports found matching the search criteria</div>
</td>
</tr>
</table>
</xsl:if>
</xsl:template>
</xsl:stylesheet>
И производит следующее:
1<table class="searchresults">
<tr class="header">
<th class="center">Incident Number</th>
<th>Date/Time</th>
<th>Type(s)</th>
<th>Location</th>
<th>Created By</th>
</tr>
<tr>
<td>137</td>
<td>01/23/2012</td>
<td />
<td>34-64 Queen St<br>Brisbane</td>
<td>akeller</td>
</tr>
</table>
Вы, вероятно, хотите исправить это "1" в начале. Предположение, что это осталось только для отладки:
<xsl:value-of select="count(TrafficResponseIncident)"/>