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

RE: I have the XSLT, now need to make it usable as use

Subject: RE: I have the XSLT, now need to make it usable as user-input form?
From: Andrew Watt <andrew@xxxxxxxxxxxxxx>
Date: Fri, 18 Apr 2003 22:24:39 +0100
kathy burke oops
At 16:30 18/04/2003 -0400, you wrote:
Oops, forgot one question from last post:

"In XForms probably it would be better simply to update the <jargon>instance

data</jargon> then submit later - at least that's what I would be tempted
to do."

        Would I not have to specify every element that changed? I haven't
yet found the way just to save it as an xml instance!

Kathy,


An XForms processor should take care of that automatically for you.

Basically what happens is that the instance markup (content of <xforms:instance>) is copied in memory to a separate tree - a little like the way a source document is made into a tree to be processed in XSLT. The in-memory copy in XForms is called "instance data".

If you make a change to an XForms form control the corresponding part of the in-memory instance data is updated (assuming the binding is correct).

Then when you submit the data it should be serialized and submitted as well-formed XML.

You need something at the server end that is expecting data to be submitted as well-formed XML, rather than name-value pairs that most HTML forms will submit.

Andrew Watt



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.