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

Re: Handling forms in xsl

Subject: Re: Handling forms in xsl
From: "Thomas B. Passin" <tpassin@xxxxxxxxxxxx>
Date: Thu, 22 Aug 2002 14:30:09 -0400
javascript handling forms
[Brian Hickey]
>
> I want to include a form in my xsl code, and to take
> the value of the chosen item and store it's value in a
> variable 'result'
>

You must be clear of the distinction between these two things:

1) The stylesheet creates some html markup that happens to include a form,
and

2) Later, the form is displayed in a browser where a user makes some
selection in the form.  You could proces the form data using javascript,
which processing could (if you are using IE, anyway) include running another
transform.

Your description sounds as if you expect both these two things to go on
simultaneoulsy but they will not.

The approach with forms should always be the same.  First figure out the
html that will do what you want.  Then figure out a stylesheet that creates
that html.  Handling the result of changing or submitting the form is a
separate process.

Cheers,

Tom P



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

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