[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Any Chance of Giving XSLT the Ability to Parse Attribute Val

Subject: Any Chance of Giving XSLT the Ability to Parse Attribute Values as Well?
From: Khun Yee Fung <kyeefung@xxxxxxxxxx>
Date: Tue, 8 Feb 2000 11:49:46 -0500
early s algorithm
One day, I had a crazy idea of wanting to transform XML to XSL using XSLT.
And then depending on the actual output device, use XSLT to transform XSL to
HTML, PDF, etc. When I looked at the XSL draft, I realized that quite a bit
of information is in the attributes.

Perhaps it is still possible to use XSLT to transform XSL to HTML (so that
most browsers can still show XSL document without a client-side renderer, or
even a client-side renderer that is an XSLT engine with a fixed XSLT
document for transforming XSL documents only). I am just thinking about the
general idea of recognizing the values of the attributes.

I can imagine the basic idea now: An XML formulation of BNF or EBNF with the
template-style constructs for declaring what to do when a syntax construct
is matched, just like most of the compiler-compilers we have right now.
However, to avoid needing an XSLT compiler, we can use Early's algorithm for
dynamic recognition for the grammar. Since that algorithm has a big-O of n
cubed, it is not as fast as the linear time algorithms we can have when we
use a compiler, but it is not too bad for small grammars that I imagine are
all we need in most cases.

I guess I dream too much. I dream that XSLT can be used for transformation
of XPointers and XLinks, and later on XML Schema, RDF, etc. If we have the
Early algorithm built-in, I guess there is no stopping us from doing
transformation on text as well. Ok, I do dream too much.

Khun Yee


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.