• Hi, I’m trying to use the xsl transformations on a sql query, like you have done in your example. However, I get no output when I do that. When I leave the xsl transform, and just the query, I do get the proper results from the database.

    <table>
        <xsl:copy-of select="/table/tr[1]" />
          <xsl:for-each select="/table/tr[position() != 1]">
             <tr>
               <xsl:for-each select="td" />
                 <xsl:choose>
                   <xsl:when test="position () = 3">
                     <td><a href="/wordpress/speler-profiel/"><xsl:value-of select="." /></a></td>
                   </xsl:when>
                   <xsl:otherwise>
                     <xsl:copy-of select="." />
                   </xsl:otherwise>
                 </xsl:choose>
               </xsl:for-each>
             </tr>
           </xsl:for each>
         </table>

    https://ww.wp.xz.cn/plugins/sql-shortcode/

The topic ‘XSL’ is closed to new replies.