Hi Alain,

Dropping the file in the "data" collection, noting its name in "examples.xml" 
and giving it an @id is all you need to display the form. I remove your pi as 
well, since it could confuse, but that is not necessary. The only exception is 
"hello2.xml" where I have changed the location of the external instance.

Obviously, I could simply have scanned the files in the collection and have 
displayed them as a list, but I wanted to have the possibility to add 
information and note urls and paths to other files, as well as to group (not 
really used yet) and sort the examples, and it seemed easier in this (slightly 
redundant) way.

In "form.xq", I have a function to add elements to the forms. I add some css, 
mainly to supply a margin, add a description (not really used yet), and I add 
buttons to open the forms and instances in eXide. In the eXist-db 
documentation, for instance in the Demo, it is standard to have the ability to 
open (and alter) queries and data files, and I wished to make this possible 
with your forms as well.

I would be more than pleased if I could add any suggestions you might have to 
the app before the final release of eXist-db. I think a more systematic 
presentation of xforms should be made, something in the manner of the 
betterform feature explorer, but obviously that takes more time.

Cheers,

Jens

On Nov 24, 2012, at 11:22 PM, Alain Couthures <[email protected]> 
wrote:

> Hi Jens,
> 
> Thank you for creating the XSLTForms Demo.
> 
> Could you please confirm that after adding the source file for a new example, 
> the examples.xml file is the only one to be updated?
> 
> And I wonder why you added an hidden anchor for eXide?
> 
> Cheers,
> 
> -Alain
> 
> Le 23/11/2012 10:32, Jens Østergaard Petersen a écrit :
>> Hi,
>> 
>> This morning a release candidate for the 2.0 version of eXist-db has been 
>> made available for download.
>> 
>> XSLTForms is installed by default (rev 559) as a library in /db/apps/, as 
>> well as the first draft of an XSLTForms Demo.
>> 
>> Please assist in making the XSLTForms Demo show more XSLTForms features.
>> 
>> I copy below Wolfgang Meier's announcement of the release.
>> 
>> Cheers,
>> 
>> Jens
>> 
>> 
> 


------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support

Reply via email to