|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Handling forms in xsl
[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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








