Page 1 of 1

compact xml (and xsl) support

Posted: Mon Jul 23, 2007 9:36 am
by bmf1972
http://nxg.me.uk/dist/lx/

Compact XSL (http://www.zanthan.com/ajm/xsltxt/):

Code: Select all


choose
when .test "$count > 1"
call "by-columns" ("column-count":"$count")
otherwise
<para>
"No columns"
instead of

Code: Select all


<xsl:choose>
<xsl:when test="$count > 1">
<xsl:call-template name="by-columns">
<xsl:with-param name="column-count" select="$count"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<para>
<text>No columns</text>
</para>
<xsl:otherwise>
</xsl:choose>
[/code]

Posted: Mon Jul 23, 2007 11:17 am
by sorin_ristache
Hello,

Thank you for the request of supporting compact XSL. I will log the request to our system.


Regards,
Sorin

Posted: Tue Jul 24, 2007 11:04 am
by zoreander
I think it's good idea and thanks admins for support. :D