[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

The Lazy Syntax for XSLT, or TLSX


Subject: The Lazy Syntax for XSLT, or TLSX
From: Jeff Lansing <jeff@xxxxxxxx>
Date: Fri, 25 Feb 2000 09:54:48 -0800

Michael Kay writes:
> I toyed around recently with devising an abbreviated syntax for XSLT -
I
> thought of calling it The Lazy Syntax for XSLT, or TLSX. It would not
be an
> XML syntax, but would be trivially transformable into the current
syntax....
>
> <xsl:variable name="y">
>   <xsl:call-template name="f">
>     <xsl:with-param name="x" select="3"/>
>   </xsl:call-template>
> </xsl:variable>
>
> becomes
>
> var y = {call f {with x=3;}}

Yes, transforming this abbreviated form into the XML-encoded form is
trivial for an LR parser.
Bud doesn't that go against the whole spirit of the "XXX" effort?
The solution we're using uses XML to encode the abbreviated form, and
then transforms it
to XSL using XSL.
Jeff


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords