This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: can i use xslt to generate html forms on .xsd files.


Rather than going straight from XSD to HTML, you may want to think in
terms of a step wise approach which allowed you to specify the form
structure in a separate (presentation-independent) XML document, then
populate that document with data from the schema, then apply a styling
XSLT to render it in HTML. This gives you a process which is not bound
to any specific schema or output device. You may find this is also
easier to develop and maintain, in that changes to the form design or
styling can be expressed in the 'form specification' XML or the final
XSLT respectively, instead of in a single complex XSLT file. You've also
got more control over which form objects are used for each XSD
component. 

Antony

Antony Scott
Director of Professional Services
RivCom
Tel: +44 (0)1934 835851
E-mail: antony.scott@rivcom.com
Internet: http://www.rivcom.com



Date: Mon, 2 Jul 2001 15:04:15 +0100 
From: Maria Gray <maria.gray@datalex.ie>
Subject: [xsl] can i use xslt to generate html forms on .xsd files.

Hi,
 
Is it possible to use xslt on a schema document (.xsd) to generate html
? 
I will have no source xml to run the xslt on they way you normally
would. 
 
The idea is that the xslt will turn the xsd document into a html form -
drop
down lists for enumerations, input boxes for attributes etc. The user
can
then fill in the values, the form will post to a servlet which will
generate
the xml.
 
Maria.





 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]