Re: [xsl] Creating HTML form from XSD Schema with XSLT ???

Subject: Re: [xsl] Creating HTML form from XSD Schema with XSLT ???
From: "Gabriel K." <gabriel.klappenbach@xxxxxxxxxxxx>
Date: Sun, 7 Nov 2004 21:53:59 +0100
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@xxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
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

Current Thread