English 中文(简体)
Client side XForms processing tools [closed]
原标题:

Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.

Closed 9 years ago.

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 find why as it is unable to debug. Ideally migration should work without any changes isn t it? How should I approach my goal ?

最佳回答

I too will refrain from saying which is the best solution. ;)

On your particular problem though, either you were using a non-standard feature in formsPlayer, or you were you were using a standard feature, but it is not implemented in the processor you are trying to move to.

Without seeing the form, I couldn t say.

On your other question about JavaScript client-side engines, you might want to take a look at [backplanejs][1]. It s a JavaScript library, built on YUI, and which provides an XForms processor and an RDFa parser, amongst other things. (The XForms support comes from the Ubiquity XForms engine, which we re working on with IBM -- they re keen to add Dojo support, and others want to add jQuery support.)

There will also be a successor to formsPlayer available soon, which will be a set of installable extensions to backplanejs, rather than a self-contained application.

[1]: http://backplanejs.googlecode.com/ backplanejs

问题回答

I am working on Orbeon Forms, so my opinion is biased and I will refrain from answering your question about the "best solution" ;).

But since you already several implementations, I ll recommend you post about the specific issues you encountered either here on StackOverflow, or on the mailing list / forum specific to one of the implementation you tried. When doing so, pointing to a simple example that illustrates the problem you re seeing is always a plus.

I really don t have opinion which is the best, but I do participate in XSLTForms mailing list and there is a lot of activity there. People ask questions, get answers and the bugs they discover are often fixed. I suggest to give XSLTForms another try and take your problems into mailing list, if you haven t done it already. I think it s the only actively developed client side solution at the moment.

You may also want to check out the EMC XForms Formula Engine (free for dev use); it seems like the most mature client side implementation right now... https://community.emc.com/docs/DOC-3100

Also xsltforms is a client side xforms renderer

http://www.agencexml.com/xsltforms

I have also developed an server side java based xslt filter which can be used for xforms rendering.

http://www.mofokom.eu/blog/index.php/2013/04/06/transforming-jee-web-applications





相关问题
selected text in iframe

How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.

How to fire event handlers on the link using javascript

I would like to click a link in my page using javascript. I would like to Fire event handlers on the link without navigating. How can this be done? This has to work both in firefox and Internet ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Clipboard access using Javascript - sans Flash?

Is there a reliable way to access the client machine s clipboard using Javascript? I continue to run into permissions issues when attempting to do this. How does Google Docs do this? Do they use ...

javascript debugging question

I have a large javascript which I didn t write but I need to use it and I m slowely going trough it trying to figure out what does it do and how, I m using alert to print out what it does but now I ...

Parsing date like twitter

I ve made a little forum and I want parse the date on newest posts like twitter, you know "posted 40 minutes ago ","posted 1 hour ago"... What s the best way ? Thanx.

热门标签