This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

The Lazy Syntax for XSLT, or TLSX


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]