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

XHTML-FML - XFORMS: Help desired.

  • To: xml-dev@l...
  • Subject: XHTML-FML - XFORMS: Help desired.
  • From: tariq abdur-rahim <ecliptoid330@y...>
  • Date: Thu, 28 Mar 2002 12:04:33 -0800 (PST)

xhtml fml
Hey all:

i am currently experimenting with an XFORM/XHTML-FMl
document and have caught a snag.  

i have a feeling that this is a simple fix but i must
be overlooking something.  So if anyone is willing,
please take a gander and explain to me where i am
going astray.

As mentioned before, this merely an experiment.  i am
trying to get abetter understanding of XFORMS and how
they work.  However, based upon what i have done thus
far i am off tracc.  The form will not display in
the browser - at all.

the idea is that the form is supposed to serve as an
Online survey.  The user should be able to 'toggle'
between pages as he completely fills out each section,
eventually arriving at the 'Submit' button. 


Is the problem contained within this line-segment:
xmlns:x="http://www.mozquito.org/xhtml-fml"
?  
If yes, please expound.

The code segment is listed below and is followed by
the error message
that i am recieving.



Regards,




====================



<?xml version='1.0'?>
<!DOCTYPE html PUBLIC "-//OVERFLOW//DTD XHTML-FML
1.0//EN"
 "http://www.mozquito.org/dtd/xhtml-fml1.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:x="http://www.mozquito.org/xhtml-fml">


<x:form id="survey"
        action="http://www.mozquito.com/servlets/Echo"
        method="post">
   <div class="content">
      <p class="mega">5 Minute Survey</p>
      <x:toggle id="paginas">
         <x:tg id="pagina1">
            <p class="medPara">Welcome!</p>
         <x:button value="Commence"
                   onClick="toggle:paginas,pagina2" />
         </x:tg>

         <x:tg id="pagina2">
            <p class="medPara">Purpose of Use</p>
            <table class="surTable">
               <tr>
                  <td>
                     <x:pulldown id="useIntention"
send="yes">
                     <x:option id="Professional"
                       
value="Professional">Professional</x:option>
                     <x:option id="Individual"
                       
value="Individual">Individual</x:option>
                     <x:option id="Student"
                       
value="Student">Student</x:option>
                     <x:option id="Other"
                        value="Other">Other</x:option>
                     </x:pulldown>
                  </td>
               </tr>
               <tr>
                  <td>
                     If 'Other', please specify:<br />
                     <x:textinput i="otherDetails"
size="30" send="yes" />
                  </td>
               </tr>
            </table>
         <x:button value="Proceed"
                   onClick="toggle:paginas,pagina3" />
         </x:tg>
...


====================


Thanks,

=====
m.nelson
Web Developer

__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/

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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.