This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
The Lazy Syntax for XSLT, or TLSX
- To: xsl-list at mulberrytech dot com
- Subject: The Lazy Syntax for XSLT, or TLSX
- From: Jeff Lansing <jeff at dtai dot com>
- Date: Fri, 25 Feb 2000 09:54:48 -0800
- Reply-To: xsl-list at mulberrytech dot com
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