473,395 Members | 1,949 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

xform novice help

I'm working on a simple xform, and it looks great viewing it locally.

When I upload it to my site, none of the xform tags work?

I went back and cut/paste this simple "hello world" code from <a
href="http://en.wikibooks.org/wiki/XForms/HelloWorld">wikibooks</ato
test out:
************************************************** ***
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:xf="http://www.w3.org/2002/xforms">
<head>
<title>Hello World in XForms</title>
<xf:model>
<xf:instance xmlns="">
<Data>
<PersonGivenName />
</Data>
</xf:instance>
</xf:model>
</head>
<body>
<p>Type in your first name in the input box. <br/>
If you are running XForms, the output should be displayed in
the output area.</p>
<xf:input ref="/Data/PersonGivenName" incremental="true">
<xf:label>Please enter your first name: </xf:label>
</xf:input>
<br />
<xf:output value="concat('Hello ', /Data/PersonGivenName , '.
We hope you like XForms!')">
<xf:label>Ouput: </xf:label>
</xf:output>
</body>
</html>
************************************************** **

and again, no xform stuff (except when viewed locally).

What am I missing? I've got the Mozilla XForms 0.7 extension
(obviously, or it wouldn't work locally). I thought nothing was done on
the server side?

Dec 11 '06 #1
1 1223
ma************@gmail.com wrote:
I'm working on a simple xform, and it looks great viewing it locally.

When I upload it to my site, none of the xform tags work?
How do you serve the document? As text/html? Consider serving as
application/xml or application/xhtml+xml so that Mozilla uses its XML
parser to parse the document.

If you still have problems then mozilla.dev.tech.xforms is a better
place to ask and find expertise on Mozilla's XForms implementation.

--

Martin Honnen
http://JavaScript.FAQTs.com/
Dec 12 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Ewa | last post by:
Hello I have inherited a www service after someone, I have problems with PHP parts. As I am complete novice. I will be very greatful for your help - I did not managed to find an answer myself....
4
by: Tim Bird | last post by:
Hi all. I have recently installed VB2005 so teach myself programming, could anyone suggest any links to useful websites, or help sites, Ideally I am looking for tutorials, written for the...
6
by: ronwer | last post by:
Hello, The title doesn't completely cover the question I have, but it's a bit more complicated problem we have. We are using a database, based on Acces, but developed by a third party...
4
by: trond | last post by:
Hello all, Before I start I'd like to point out that I am a complete novice when it comes to asp.net - My background is in network and operating systems, and although I have been doing a bit of...
1
by: TwistedSpanner | last post by:
Hello all, For the record I am a complete java novice. I have to write a program to generate/output to screen 10 simple maths question and output a final score . The question is as follows ...
9
by: Kelii | last post by:
I've been trying to get this piece to work for a few hours, but have given up. I hope someone out there can help, I think the issue is relatively straightforward, but being a novice, I'm stumped....
0
by: gcarr | last post by:
I need to double space the following code what is the easiest way to do this? <ul> <li> line one </li> <li> line two </li> <li> line three </li> </ul> Novice that I am I was using...
0
by: Kaushik Gadani | last post by:
Hi Everyone, Does anybody knows any XForm related work in .Net which involves in editing and creating XForm form template, adding data to XForm template through filling form and resulting data in...
6
by: GLEberts | last post by:
Novice looking for some direction!! I am trying to have a text box autopopulate with a number added to it at the end and I am having a difficult time doing this. Example: (1) I have a combo...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.