|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








