Justin Wells wrote:
>
> I think if you view WebMacro is a style sheet language which operates
> on regular Java objects, we're getting close.
>
> Consider that XML can be represented with a Java API and you'll see
> where I am headed.
You are mixing different things. I do want to be able to do document
structure management from a programming language (Java), but not
styling.
> However, 90% of servlets are not document centric.
90% of servlets involve simple things that do not require having a macro
or script language put at the document.
> You'll find you can only write trivial stylesheets without having
> to work with XSL/DSSSL as a functional programming language.
>
> I know I'm a bit of a heretic in the XML/SGML world for saying
> so, but a simpke procedural language is better suited to manipulating
> document structure than a functional language.
>
> Functional languages often pretend not to be languages, which really
> bugs me, because they are far from simple for non-trivial work. Only
> a programmer would think scheme is simple.
This is the problem that I mentioned. I do not pretend that there is a
global solution for everything. But if I have to live with XML and style
sheets (it seems we all will), I would like to have a simple way for
designers to work with.
Haven't really thought about it, but I have a quick suggestion for such
an application. Imagine an IDE where you have an XML document,
admittedly with a default style sheet layout. You click on a certain
tag-associated structure and then a toolbar with several possible "style
controls" get active. You click one and then edit the properties. You
end with a GUI-created style-sheet, much as when you end with a windows
resource file with the VC++ GUI editor.
I don't pretend that all of the possible functionality be provided by
such editor, but would this be manageable / useful ? For the most
simple cases I think so, but haven't thought much about it.
Your opinion, Justin ?
Carlos
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html