Questions tagged [xsltforms]

Open source, client-side implementation of XForms.

XSLTForms uses XSLT to implement XForms in the browser. Its source code can be downloaded from SourceForge here. For more information, see the XSLTForms home page or the XSLTForms Wikibook.

79 questions
5
votes
2 answers

Allowing XForm controls for optional XML elements

In designing an XForm interface to an XML database (using eXist and XSLTForms), I'd like to include an input control for an optional element. The XML data records already exist and while some contain the optional element, others don't. To update a…
Cam
  • 146
  • 1
  • 4
3
votes
0 answers

Installing XSLTForms on exist-db 5.2

Given that the package manager is not offered on the eXist-db 5.2 dashboard (at least not on mine) how does one install XSLTForms on an eXist-db 5.2 installation running on an AWS EC2 instance.
Ihe Onwuka
  • 467
  • 1
  • 3
  • 11
2
votes
0 answers

Xforms submit error with multiple submissions : submission-in-progress

We are developing an app with xforms (with XSLTForms client) and BaseX, to manage historical entities (actors) and conduct network analysis. In one of our forms, we fill the relations between an actor and his relatives, and we'd like, when…
2
votes
1 answer

XSL transformatiotion to XForms from simple XML file and applying CSS

I am transforming some simple XML document into XForms and I am trying to add some style to the final result. I am using the XSLTForms implementation and I am pointing to a local CSS file (Twitter's bootstrap). So the XML file looks like…
lapadets
  • 1,067
  • 10
  • 38
2
votes
1 answer

XLSTForms with twitter bootstrap css

I am experimenting with XForms and I use the XSLTForms implementation. I have troubles running the page with a link to bootstrap.css. I read that XSLTForms needs the CSS file to be a valid XML file in order to get parsed. So I have included a…
lapadets
  • 1,067
  • 10
  • 38
2
votes
2 answers

Are variables (var) supported in XSLTforms or betterForm?

I've prepared the following XForms document based on http://www.w3.org/MarkUp/Forms/wiki/XForms_2.0#The_var_element:
1
vote
1 answer

XForms repeat - JavaScript error

I am using XForms to build a web application with XML-DB eXist-db as backend. eXist transforms the XForms code into HTML and JavaScript. First of all I got two instances:
acco
  • 11
  • 2
1
vote
0 answers

XForms conditional itemset

I am attempting to limit items in an item set dependent on the data (contained in instance 'i-rec') and a series of constraints (contained in instance 'i-schemaConstraints'). In essence, if there are a certain number of elements in i-rec, then the…
wsalesky
  • 55
  • 5
1
vote
1 answer

XForms move node up or down in the XML tree

I need to allow my XForms (using XSLTForms) users move elements up and down the XML tree. I have this working as long as I am using the full path to the element including the instance. However I'm wondering if it is possible to have the same…
wsalesky
  • 55
  • 5
1
vote
0 answers

Is it possible to run XML through two stylesheets in a browser?

If I have an XML document, I can add the processing instruction to the XML, which I can then use to convert to (x)html, apply CSS and other markup in the browser. However, I would also like to use…
Devasta
  • 1,489
  • 2
  • 17
  • 28
1
vote
2 answers

Inserting nodeset into a document with Exist-db and XSLTforms

I'm working on setting up an exist-db instance using XSLTforms for non-technical data input. What I want to do sounds simple, but I can't find documentation for it, nor have other asked similar questions, so I'm guessing that I'm missing something…
1
vote
1 answer

Manipulating Xforms repeat collections. View and Model easily get out of sync

To recreate this problem, here is some sample code taken from Steve Pembertons Xforms for HTML authors tutorial. After a few random clicks of the New and Delete buttons the UI will freeze and stop responding to further clicks because the model has…
Ihe Onwuka
  • 467
  • 1
  • 3
  • 11
1
vote
1 answer

How to do an xforms:insert without the need of xforms:delete at the end?

I want to populate an instance based on another one. I can do this using xf:insert as…
Crusaderpyro
  • 2,163
  • 5
  • 29
  • 53
1
vote
1 answer

xsltforms submission method="post": Unknown XML root element

I'm using XSLTforms on exist-db server and I'm trying to load a file with method="post" with no luck at all. Here is an example of the model:
nassoo
  • 59
  • 1
  • 7
1
vote
2 answers

Wrap text in element using xforms

Is there a way to wrap marked text in element using xforms? For example: Put tag around this word --> Put tag around this word I'm new to xforms, currently using Xsltxforms on exist-db server and I'm trying to figure out if I'm missing…
nassoo
  • 59
  • 1
  • 7
1
2 3 4 5 6