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

Re: Crazy idea

Subject: Re: Crazy idea
From: "Oren Ben-Kiki" <oren@xxxxxxxxxxxxx>
Date: Tue, 7 Sep 1999 19:14:28 +0200
Re: Crazy idea
Maxime Levesque <maximel@xxxxxxxxxxxxxx> wrote:
>  I like the idea very much, have you tried it on a lot
> of examples ?

Alas, no. We are doing validation of sorts to the documents we are using -
but since we've started a very long time ago (two years :-) it isn't XSLT
based. It isn't even DTD based since we needed an XML way to manipulate the
"language" file, so we used our own very limited XSchema-like XML language.
We were planning to migrate to XSchemas if/when they are ever finalized.

>  Is it hard to generate (automatically) an XSLT
> stylesheet for a given XSchema ?

Well, in XSchema you can trivially express complex regular expressions which
would be a real pain to convert to XSLT. Essentially you'd need to simulate
the resulting state machine. On the other hand, it isn't clear you really
need this sort of constraints in real world schemas (at least not often),
and there are other things you can easily express in XSLT which you can't do
in XSchema at all (such as depending on attribute values). It all balances
out - I hope.

>  It's a good oportunity for reuse (of code and architecture)

Right.

>  It seems that XSLT has more uses other than for what it's
> designers had in mind.

One of the marks of a good standard/theory/piece of code is that you get out
of it more then you put into it :-)

Have fun,

    Oren Ben-Kiki


 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.