OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] XSLT vs. CSS (Re: Indexing)

[ Lists Home | Date Index | Thread Index ]

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>
> 
> 






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS