W3C home > Mailing lists > Public > xsl-editors@w3.org > April to June 2000

[Fwd: XSL Proposal]

From: Chris Lilley <chris@w3.org>
Date: Wed, 10 May 2000 12:32:22 +0200
Message-ID: <39193AB6.7133167F@w3.org>
To: xsl-editors@w3.org
FYI

attached mail follows:


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
Received on Wednesday, 10 May 2000 06:32:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:50 GMT