Forwarded message 1
Dear Sir,
for XSL preparations why can't SQL be used!
for example :
<xsl:for-each select="/Schedules/Faculty">
<!-- <Tr><td><xsl:value-of select="@name"/></td></Tr> -->
<xsl:for-each select="Batch">
<xsl:if test="Subject[.='Java']">
<tr>
<td>
<xsl:value-of select="Subject"/>
</td>
<TD><xsl:value-of select="ancestor(Faculty)/@name"/></TD>
<TD><xsl:value-of select="Client"/></TD>
<TD><xsl:value-of select="StartDate"/></TD>
<TD><xsl:value-of select="EndDate"/></TD>
</tr>
</xsl:if>
The above code can be minimised if we can use an SQL statement like!
Select Faculty name,Client,StartDate,EndDate from Schedules where Subject
="Java'
please consider
regards
lawrence
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com