W3C home > Mailing lists > Public > www-forms@w3.org > March 2005

is XForms suitable for my problem ?

From: LEBUR Guillaume <guillaume.lebur@justice.fr>
Date: Wed, 30 Mar 2005 13:38:50 +0200
Message-ID: <B558C767F14A16409AF737302313F1C9033624@mail-enm-bdx.enm.justice.fr>
To: <www-forms@w3.org>


I use a tool that automatically generates a DocBook XML file describing
a document tree structure. The resulting DocBook file takes the form of
an <article>, with <section>'s corresponding to folders in the tree and
<ulink>'s to documents in each folder. The number of folders and
documents is virtually unlimited.


What I'd like to do is make an XForm that would be used to edit things
in the Docbook file once it has been generated, like the title of the
article, the order of the ulinks, etc.

I'd like to know if Xforms is well-suited for my needs, namely :


-         Based on the DocBook file, generating a form with fields such
as the title, date, author, plus a list of all the folders and documents
with buttons to re-arrange their order.

-         Upon validation, applying the modifications to the DocBook



The underlying question is actually : "Is an XForm able to take its data
from a XML file containing an undefined number of similar elements (in
my case, <section>'s and <ulink>'s), and to turn them into an undefined
number of form controls ?"


Thanks in advance,



Guillaume Lebur



Received on Thursday, 31 March 2005 02:10:17 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:14 UTC