cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurva zaveri <azav...@yahoo.com>
Subject Re: XMLForm and VoiceXML dealing with "/"
Date Tue, 15 Oct 2002 13:49:43 GMT
Ofcourse! :)

There is one thing that I have to discuss. In voiceXML
all the form fields have a type. Like Voice browser 
built in types 
i.e digits, number, date etc.
 For all other (which are not built in) types there is
a grammer associated with it.

For the build in type I was thinkin if we can have
something like the following for example:

This is what it is right now:
<xf:textbox ref="age">
      <xf:caption>Age</xf:caption>
      <xf:violations class="error"/>
</xf:textbox>

Suggestion:

<xf:textbox ref="age" type="number">
      <xf:caption>Age</xf:caption>
      <xf:violations class="error"/>
</xf:textbox>

Adding one more attribute does not effect the HTML
form and this can be very useful in "wizard2vxml.xsl"
and "xmlform2vxml.xsl" atleast thats what I am doin
and it works.

Does any one have other better suggestions??

-Apurva






--- Ivelin Ivanov <ivelin@apache.org> wrote:
> 
> Hope you're donating the vxml stylesheet. :-p
> 
> 
> ----- Original Message ----- 
> From: "Scott Schram" <scott@schram.net>
> To: <cocoon-dev@xml.apache.org>
> Sent: Monday, October 14, 2002 8:11 AM
> Subject: Re: XMLForm and VoiceXML dealing with "/"
> 
> 
> > At 08:04 AM 10/14/2002, you wrote:
> > >One more thing to mention.
> > >
> > >I am working on creating "wizard2vxml.xsl" and
> > >"xmlform2vxml.xsl" for VoiceXML 2.0 for XMLForm.
> > >
> > >Is it Necessary to have "/" in the field name
> (html
> > >input variable name) like : <select name="/city">
> > >this?
> > >
> > >Would this be fine?
> > >
> > ><select name="city">
> > >
> > >I am using bean not dom for XMLForm
> > 
> > This would probably work ok, because the name is
> used as an XPath 
> > expression (implemented by JXPath), and in this
> case, "/city" and "city" 
> > point to the same node.
> > 
> > Try it, and let us know if it works or not.
> > 
> > Scott
> > 
> > 
> > 
> > ------------------------
> > http://schram.net
> > 
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> cocoon-dev-unsubscribe@xml.apache.org
> > For additional commands, email:
> cocoon-dev-help@xml.apache.org
> > 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email:
> cocoon-dev-help@xml.apache.org
> 


__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message