This is kind of an odd question, but as anybody done anything in
the direction of dynamically generating HTML forms to edit XML
objects? I'm thinking in terms of either:
1) walking the schema for a document to generate HTML <INPUT> and
<TEXTAREA> tags (and then walking the document itself to populate the
tags with default values) or
2) some other approach that would involve walking the document
itself and adding appropriate attributes to each element (e.g. a
"label" attribute containing a value that would get inserted before
the <INPUT> tag, etc), before passing it to a simpler version of
step 1.
Either of these approaches might be assisted via some sort of
configuration file. Although I'd *really* like to keep the number of
interrelated files down. One thought that has occurred is to figure
out if I can augment the schema files to keep the form-generating
details in there.
Steven J. Owens
[EMAIL PROTECTED]
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html