Kathy, what are you using? Javascript? is this xslt being applied
server side or client side? do you have a toolset or rolling your own?
I'm not sure if it's actually possible to "save" the data before they
submit the form. I've never heard of a web technology that does that ..
that said, using xslt you'll use the same techniques you use for any
other forms in HTML. I agree, stay away from Xforms for now, they are
not "there" yet in the browsers. as far as checking the data, you must
do it on the server side for security, I'm not sure exactly how you
might accomplish that if it's a data-integrity problem, you could POST
to a regular CGI and do the checks there, or potentially there might be
some system available that uses a schema to check the results (using
W3C XML schema data types maybe).
simon
On Friday, April 18, 2003, at 09:51 AM, Kathy Burke wrote:
Happy Friday!
With much help from this list, I've now got a quite nice html output
form
based on an xsl stylesheet for a work instruction (step-by-step) etc.
I've been reading a lot of posts re: xforms, etc., but it doesn't look
as if
I could use my xsl (which would be unthinkable!).
My head is spinning...I could really use some
pointers-in-the-right-direction for how to best/most easily accomplish
the
following:
The xsl/xml instance presents the user with an html form of process
steps to
follow. Each step has a checkbox (when checked I want to store the
SystemTime in an attribute value), and there are several user input
boxes
along the way. When any user input is made, I do need to either check
the
value against the xml attribute (e.g., high/low) and/or record the
data (in
case it gets lost before a final form POST. My thought was to SAVE the
xml
instance each time the user action occurs, overwriting the xml file
each
time until the end of the process is reached.
Does this make sense? Please point me in the right direction. How to
capture
data as the user goes along AS AN XML INSTANCE? and how to assign a
system(time) variable to an element attribute (many occurences in the
same
document).
Thank you!
Kathy
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
--
anti-spam: do not post this address publicly
www.simonwoodside.com -- 99% Devil, 1% Angel
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list