Re: First working draft of XSL

Subject: Re: First working draft of XSL
From: Mark_Overton@xxxxxxxxx
Date: Tue, 18 Aug 1998 13:29:50 -0400
My first thought is this:
Why did they not use XML for the structure of the patterns, etc.

For example,
Here is a rule example from the new spec
<xsl:template match="book[excerpt]/author[attribute(degree)]">

This could have been something like:
          <element type="book">
               <element type="excerpt"/>
               <target type="author>
                    <attribute name="degree"/>

This way the xsl processor could read the stylesheet without having to
parse all of this new syntax.  We have a great tool in XML for representing
structured data so why did we have to come up with another?  Now, to read
an XSL stylesheet I need to parse all of these new delimiters and more ('/'
| '//' | '(' | ')' | '|' | '[' | ']' | ',' | '=' | '.' | '..' | '*' | '{' |
'(' |, etc.......).  All of the built in functionality of my XML parser is
of no use.  What a shame.

-Mark Overton

 XSL-List info and archive:

Current Thread