XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Steve CutbushSubject: 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.




Posttop
Minollo I.Subject: Remote Procedure call - stylus 4.6 103v
Author: Minollo I.
Date: 14 Jul 2004 10:30 PM
>...
>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.

I'm not sure I completely understand your problem; but I know that you can use <xsl:value-of> to retrieve the name of nodes; try <xsl:value-of select="name()"/>

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

4.6 does contain a technology preview of the XQuery editor and processor; but it's a partial implementation of XQuery as it was drafted in late 2002...

>...
>I have a sneaking suspicion that there's something I'm missing! Some
>lovely XSL command that will do the job for me.

Hopefully something like what I mentioned above may help. If it doesn't, then we need to understand a bit more about what you are trying to do.

Thanks,
Minollo

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.