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

Re: Query Languages for XML

  • From: Paul Prescod <papresco@t...>
  • To: xml-dev@i...
  • Date: Thu, 20 Nov 1997 09:46:02 -0500

tree js xml
> XML does not address
> how to add buttons, etc. This *could* be done by ECMAScript, I suppose, but
> it starts to look a bit kludgy.

I don't think that it is a generic markup language's role to address how
to add
buttons. ECMAScript is a good language for creating scriptable code 
components. XSL and DSSSL are good languages for specifying which
scriptable 
code component should be used to represent which XML object.

> I am much more concerned with the potential interactive properties of XSL
> than laying out text to the nearest micron. I am not disparaging that -
> it's very important - but it seems to be the main philosophy behind XSL.
> I'd like to see an interactive component built in.

I don't think that that is its job. XSL specifies a mapping from
structured
document nodes to (perhaps interactive) graphical components. I think it
is
going too far to ask it to also script those components. I would expect
to
make a tree control in DSSSL like this:

(make component system-id: "http://www.controls.are.us.com/tree.js"
                parameters: '(()) )

Of course if a huge number of stylesheets needed a tree control, then
it would be a good idea to make a tree control flow object:

(make tree-control width: height: ...)

Then the behaviour would be implicit in the flow object.

Putting the code for the control inside the stylesheet would be, in my
mind,
rather ugly and confusing. Perhaps it wouldn't be too bad if the code 
snippet is very short:

(make button onClick: "doit()")

 Paul Prescod

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


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.