xforms

Is anyone using XForms in their web applications?

A few years ago we started playing around with XForms from the W3C for a web app which required hundreds of custom forms. As they aren't currently supported natively by the major browsers, what parsers/tools are you using on your projects today? I'm not really interested in plugins - this needs to be something server side that emulates...

xHTML IE7 MIME-Type

Can someone tell me method to define the MIME-Type of a static XHTML File as text/html …. I don’t want to use php, asp.net…….. javascript would be ok ...

What did I do to break my xForms?

I'm learning xForms, but apparently not well enough because I can't figure out why this code doesn't work. It parses in FF2 w/ the xForms extension but does not render the form controls. IE7 and X-Smiles give me different problems, but I'm not sure if those problems are becaause of my xForms or because of something else- until I get it...

Javascript library wanted for XML editor programatically generated from XSD

I want to create a web based interface to configure a system. My systems configuration is defined using XML for which I have an XML schema. I am looking for a Java Library which takes this schema and automatically creates a nice web based interface for viewing and editing the XML configuration document. It would be nice if this library ...

Does XForms have a successor?

We are looking for a desktop forms technology with an easy to use (read non technical) authoring environment. When I last looked at this, some years back, it seemed that XForms would mature in to something really useful. Now there appears to be little happening with the technology (only 5 questions under the XForms tag here for instance)...

XForm in debian

Hi, I have a debian server with openfire. I want to use xform mainly for bot development.I have executed following command. apt-get install apt-file apt-file update apt-file search xforms When I do "apt-file search xforms", I get several results. I have searched for the example and found out following code. <message from="sender@w...

Will XForms ever become practical?

I read some articles about XForms. Will this standard ever become practical? Any body using this right now? Is it wise to start using now itself? ...

Default Values in XForms Input

I have an XForm that has certain fields that may often be left blank (optional street address). Is there is technique to set a default value for that field, preferably a space (I am running into weird formatting issues with CSS). The html form way of value="" doesn't work, neither does setting a default value in the XML schema. EXAMPLE:...

XForms, XSLTForms outer join

I have an XForm survey. I'd like to keep the questions in a separate xf:instance of the same model from the xf:instance that collects the answers. In one instance, a group containing 10 questions. In a second instance, a group to hold the 10 answers. The second instance will be submitted. So, this is similiar to a join between two l...

xforms issue due to display

i seem to be having problems getting a xform to display a check box - instead it is displaying a text area. All my other items are working correctly, i just cant seem to get this one to work. this is the code inside my model <takeMoneyOff type="xs:boolean"/> //close the my structure //close the instance <xf:bind id="takeMoneyOff" nod...

decimal-string() help xml/xforms

i am trying to round a number to 2dp and i am struggling i am trying to use the decimal-string method This is what I had <xf:bind nodeset="/stuff/price" calculate = "if(boolean-from-string(/stuff/amountOff), ((/stuff/items) * (/stuff/duration) * 0.8),/stuff/items* /stuff/duration)" /> This is what I tried <xf:bind n...

dynamic web forms

Hi, I'm developing a web application that allows reports to be written and viewed online. These reports will have the structure of a typical school report or annual employee appraisal report. I would like the user to be able to customise the structure of their report. For example, one school might want a report in the format Subject ...

Can you style XHTML elements in another namespace using id and class name css selectors?

I'm developing an application that uses ubiquity-xforms. Previously I had been serving the pages up as text/html with the XHTML 1.0 doctype. If I switched the mime-type to application/xhtml+xml, I would see a pretty big performance improvement, because the javascript could use the get____NS() functions, instead of what it's doing now (s...

Forms-application to display, edit and save XML. What are the possibilities?

Hi all, I have to develop a forms-application with the following specs. I have an XML file with data. I have to display this data within my application or by forms. The user must be able to view, edit, add, manipulate the data and save it to an XML file. I can't use an application/web server, it must be an offline application and the d...

Client side XForms processing tools

What would be the best client side javascript based XForms processor? I'm trying to migrate plugin (activeX) based Xforms processing solution to a javascript based client side processor. But the migrating XForm does not work properly in any of the client side solutions I found. They give various unfriendly errors and its very hard to f...

XForms: how to deal with instance data that changes?

Hi all, At the moment I am working on an XForms application to mutate XML data. This data comes from a local XML file. The file is exported from another application in a static way and read into the application. The problem is that every time the data changes (the XML structure remains the same). How can I fix this in XForms? I use XSLT...

ISML PAC to XForm Conversion

Are there any tools or write-ups that can help in converting ISML PACs to XForms? Does anyone have experience in such a conversion? TIA ...

Server side Xforms form validation and integration into ASP.NET

I have recently been investigating methods of creating web-based forms for an ASP.NET web application that can be edited and managed at runtime. For example an administrator might wish to add a new validation rule or a new set of fields. The holy grail would provide a means of specifying a form along with (potentially very complex) arbi...

xforms "instance namespace" issue

I am creating an Xform that reads an XML document and creates an input form for updating the document. However, apparently due to a namespace issue none of my Xpath expressions resolve.My form works fine on a simple instance when the instance file has no namespace. However, I need the namespace support. My instance file has a namespace ...

Connect Orbeon Xform to External Exist DB

I am attempting to connect a new Orbeon XForm to an existing exist db. My code should submit an xml doc to be stored in that database. <xf:submission id="save-to-file" method="get" action="http://server:8081/exist/rest//test/test/inventory_sample.xml" replace="instance" instance="data-instance" incl...