OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   XHTML-FML - XFORMS: Help desired.

[ Lists Home | Date Index | Thread Index ]

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/




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS