RE: [xsl] Data validations on XML elements..

Subject: RE: [xsl] Data validations on XML elements..
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 9 Apr 2009 08:21:46 +0100
> Here,I want that user should only enter IP's in the text box 
> 'args1' in form of "digit.digit.digit.digit". Can I specify 
> these things in XML?I am currently not using 'mandatory' and 
> 'Type' fields from XML.
> 
> If not,has the XSL,the power to accept only interger values 
> in this text box as 'Type' is specified as 'number' in XML File?

You don't seem to have grasped yet that the XSLT is only generating HTML. If
you know how to write the HTML to do this, then you can work out how to
write the XSLT to generate that HTML. (In practice, you can do this by
including Javascript or XForms code in your generated HTML).

Michael Kay
http://www.saxonica.com/

Current Thread