XSL

XSLT article by Arsdigita

W3C Recommendation

Open-source XSLT engines

Also Instant Saxon - http://saxon.sourceforge.net/

requires Microsoft Java Virtual Machine http://www.microsoft.com/java/

XSL Formatter : Antenna House http://www.AntennaHouse.com/

requires MSXML3 or MSXML4 http://msdn.microsoft.com/xml

  • Xalan http://xml.apache.org/xalan-j

    Xslt libraries

    Tutorials

    A small tutorial on XSL

    W3Shools tutorial

    XPath

    XPath Explorer

    What is XPath ?

    Example : every 3rd row is yellow


    <xsl:template match="item">
     <xsl:element name="tr">
      <xsl:if test="position() mod 3 = 0">
       <xsl:attribute name="bgcolor">yellow</xsl:attribute>
      </xsl:if>
      <xsl:apply-templates/>
     </xsl:element>
    </xsl:template>

  • Genreating table of contents using XSLT