Archive for December, 2009

links for 2009-12-26

December 27, 2009
Advertisements

links for 2009-12-23

December 24, 2009
  • <blockquote>
    <p>Take a look at the
    XSLT fragement below:
    </p>

    <pre>&lt;xsl:choose&gt;
    &lt;xsl:when test="$count &amp;gt; 1"&gt;
    &lt;xsl:call-template name="by-columns"&gt;
    &lt;xsl:with-param name="column-count" select="$count"/&gt;
    &lt;/xsl:call-template&gt;
    &lt;/xsl:when&gt;

    &lt;xsl:otherwise&gt;
    &lt;para&gt;
    &lt;text&gt;No columns&lt;/text&gt;
    &lt;/para&gt;
    &lt;xsl:otherwise&gt;

    &lt;/xsl:choose&gt;</pre>

    <p>
    In XSLTXT it can be written as
    </p>

    <pre>choose
    when .test "$count &gt; 1"
    call "by-columns" ("column-count":"$count")
    otherwise
    &lt;para&gt;
    "No columns"</pre>

    <p>
    XSLTXT increases the signal to noise ratio in XSLT
    stylesheets so that they are easier to write and hopefully
    easier to read. </p>
    </blockquote>
    via http://www.scottsweeney.com/projects/slip/

links for 2009-12-22

December 23, 2009

links for 2009-12-17

December 18, 2009

links for 2009-12-15

December 16, 2009

links for 2009-12-14

December 15, 2009

links for 2009-12-12

December 13, 2009

links for 2009-12-11

December 12, 2009

links for 2009-12-10

December 11, 2009

links for 2009-12-08

December 9, 2009