Greg,

Here are a couple of links to articles that describe how to use XSLT to
create an HTML form and an XSLT script from an XML schema. The form can then
be used to create and edit instance documents that conform to the schema. I
looked at the scheme breifly, and it is pretty slick, except that the code
included with the articles handle only relatively simple schemas (as the
author states). For example, it does not seem to handle the following schema
features:

1. annotations containing documentation
2. remote (named) complex type definitions
3. imports

item 1 should be quite easy to fix, but getting this scheme to handle a
schema of arbitrary complexity would probably require a fair bit of effort.

http://www.xml.com/pub/a/2003/04/30/editing.html
http://www.xml.com/pub/a/2003/06/25/editing.html

But, if your schemas are simple, this approach is worth a look.

Hope that helps,
Gordon

-----Original Message-----
From: Greg Hess
To: Xerces User Mail list
Sent: 9/17/03 3:28 PM
Subject: [OT]-- Editing XML

Hi All,
 
I am new to XML, XSLT, schema so please bear with me.
 
I have been assigned to build web application that needs to alter many
3rd party defined XML data structures. I would like to take a 3rd party
XML data structure and defined XSLT to create a HTML form for editing
the underling XML data structure. Only requiring basic input validation
maybe from a schema. When the form has been completed and submitted the
XML data structure would be recreated with the new input values. I need
to do this in a generic way so that the same application can process and
edit any defined XML data structure.
 
                                    XML --> HTML FORM --> XML
 
Can I do this?
 
Are there any tools out there that enable this?
 
Could a 3rd party define a XML data structure and XSLT that would create
a HTML form for editing the data structure?
 
Any comments/input is greatly appreciated, I have been assigned this
task and have no idea if it is possible or where to start.
 
Many Thanks,
 

Greg Hess

Software Engineer

Wrapped Apps Corporation

275 Michael Cowpland Dr.

Suite 201

Ottawa, Ontario

K2M 2G2

Tel: (613) 591 -7552

Fax: (613) 591-0523

1 (877) 388-6742

 <http://www.wrappedapps.com/>  
 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to