xsl-list
[Top] [All Lists]

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

2009-04-09 05:08:51
Not like that.I expected these answers only.

Just heard that XML has this power of specifying min and max. values
and those fields adhere to take follow these limits.


On Thu, Apr 9, 2009 at 12:51 PM, Michael Kay <mike(_at_)saxonica(_dot_)com> 
wrote:

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/


--~------------------------------------------------------------------
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>
--~--




--
---------------------------------
Thanks and Regards,
Himanshu Padmanabhi

--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>