xsl-list
[Top] [All Lists]

Re: Creating HTML form from XSD Schema with XSLT ???

2004-11-07 13:53:59
I think that should be possible, after all a XML Schema is an XML file.
So just write an XSL file that transforms the Schema to HTML.
You can match every xsd:element in the schema and output appropriate html for each.

<xsl:for-each select="//xsd:element">
   html code..
</for-each>

/Gabriel

----- Original Message ----- From: "Matt Adams" <mattad(_at_)email(_dot_)com>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Sunday, November 07, 2004 9:47 PM
Subject: [xsl] Creating HTML form from XSD Schema with XSLT ???


Is there a way to create a HTML form from a given XSD Schema?
This form should contain an entry field for every declared element
in the XSD Schema.

If not, may it is possibile to achieve this with a few restrictions?

Perhaps XSLT 2.0 offers some more of the needed features ?

Matt
--
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm


--+------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--