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

Re: XSLT vs. CSS (Re: Indexing)


css vs xslt
That makes perfect sense if you are looking at the XML as a document with no semantic other than presentation. It is probably true for other conditions, as when the XSLT is not constrained in any way.  

If instead the XML is (and/or also) a structure with some other underlying data model, transformation may be a very practical way to deliver a usable user interface. 
The document may push the creation of one-shot code for editing the instance on-line.
Placing simplifying constraints on the transforms seems to make it a plausible approach... take for example how XML Spy uses XSLT and CSS to produce a document interface.

This is much like the problem of SQL views which select from multiple base tables. The problem is intractable unless you constrain the SQL, e.g. make the joins one-to-one and leave out aggregate functions. (It would be interesting to hear from one of the XQuery folks on this point.)

Regards 

- Mitch

David Carlisle wrote:

>> If you do something (typically mixed 
>>content) where you don't have that information set up beforehand, it stays 
>>black while you edit it
> 
> 
> I'd say XSLT (or any translation system) was _entirely_ unsuitable for
> an editing system. If you're editing the source through some kind of
> back links from a transformed document, who knows what will result.
> 
> For an editor you want an annotated view of the source tree (which might
> look nothing like the document) and for that you want a styling paradigm
> that's more like.... hmm.. CSS.
> 
> 
> David
> 
> ________________________________________________________________________
> This e-mail has been scanned for all viruses by Star Internet. The
> service is powered by MessageLabs. For more information on a proactive
> anti-virus service working around the clock, around the globe, visit:
> http://www.star.net.uk
> ________________________________________________________________________
> 
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> 
> The list archives are at http://lists.xml.org/archives/xml-dev/
> 
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>
> 
> 



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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.