|
next
|
 Subject: Remote Procedure call - stylus 4.6 103v Author: Steve Cutbush Date: 14 Jul 2004 09:56 PM
|
Hi all.
Stylus Studio 4.6 build 103v
Warning: relative newbie!!
I'm generating some HTML pages using eXcelon & Stylus.
I'm at the final stage of collating the user information,
and now want to submit the information to a URL (webservice or not!)
for final validation and submission.
As the form contents are dynamic, I cannot resubmit the form to a
stylesheet, as I cannot tell what parameters will be required.
I have experimented with building an XML document behind a form submission
(something I thought would be easy using an XML tool), but the <xsl:value-of>
commands only seem to return the data within the XML, not the tags themselves.
The XML submission is quite large & complex, so hand coding the tags
would be long winded & seems counter intuative.
XQuery seems to be an option, but I'm unsure if this functionality is
available in 4.6. (Upgrading is not an option at present).
At the moment, I'm looking at using lots of javascript tricks &
submitting a form to a webSpeed page, (I am intimate with webSpeed (Progress)),
and know I can get the job done there, albiet a little clunky &
definitely not seamless. For instance, if there are errors in the
submission, I need to display those, and the HTML form (generated
from XSLT) for resubmission.
Ultimately I'm at a fork in the road. I'd like to stick to one methodology
(XML), but am unsure if it will do the job for me.
I have a sneaking suspicion that there's something I'm missing! Some
lovely XSL command that will do the job for me.
How have other people handled this kind of task?
(BTW, I'm not a java programmer!!)
Thanks in anticipation,
Steve Cutbush
Analyst Programmer
Orlando Wyndham Group.
|
|
|