Hi all,

Is somebody with good knowledge in XSLT transformation able to write an
xslt file which transforms the table definitions in dbforms-config to an
validation.xml file?

Something like:

   <table name="example">
              <field name="text"                        fieldType="char"
isKey="true"    />
                <field name="timestamp"
fieldType="timestamp"           />
        </table> 


Becomes to 
<form-validation>
        <formset>
                <form name="web_users">
                        <field property="user_name" depends="required">
                                <arg0 key="aucos.user.name" />
                        </field>
                </form>
        </formset>
</form-validation>

So that key fields would be checked for requiered, timestamp for date,
double for double and so on? Not forget to check maxlength if a length
is given in the config file?

Could it be done?

Thanks,
Henner



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
DbForms Mailing List

http://www.wap-force.net/dbforms

Reply via email to