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

Re: XML based wiazrd

  • From: Liam Quin <liam@w...>
  • To: Sam Carleton <scarleton@m...>
  • Date: Thu, 17 May 2007 13:25:56 -0400

Re:  XML based wiazrd
On Thu, May 17, 2007 at 08:15:27AM -0400, Sam Carleton wrote:
> I need to develop a Wizard.  It will be some what complex with many
> final destinations, based on how the user answers questions.  My
> thought was that I could map this out the whole thing in XML, having
> one question with the possible answers, and then in each answer have
> the next question and so on.

Can you separate out the data from the logic, and have only the
data in the XML?  Or at the very least some sort of declarative
way of expressing relationships, rather than a procedural approach?

Then maybe consider using XSLT and/or XQuery to combine the user's
responses, the data and the logic.

> I asked on another forum and someone recommended IETM (Interactive
> Electronic Technical Manual).  From what I have been able to tell it
> is a SGML format used by the military for trouble shooting manuals.

I don't know if they ever actually deployed them to any great
extent - maybe.  They were fairly complex, and had the disadvantage
(in my view at least) that documentation staff often have neither
the training nor the necessary tools to do programming and debugging
of complex software.  You ended up with if-then-else and variable
assignments, for example, but without user-defined functions that
you could use in conditions.  But I think I worked with a draft of
the spec, it was a long time ago!

Adding more power to make documentation "live" is a very good
goal.  Outside of military environments, you have to ask who
will do exactly what work, and what sort of skills will be
required, and how they will be motivated, and this can lead
to a different separation... just as we're seeing XQuery used
in a back end of a Web application, then XSLT making Web pages,
with XHTML and CSS at the front.

By the way, there are also Wizard tools for the GTK+ toolkit that can
use XML for the user interface via Glade and libglade.

Liam

-- 
Liam Quin, W3C XML Activity Lead, http://www.w3.org/People/Quin/
http://www.holoweb.net/~liam/ * http://www.fromoldbooks.org/


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.