Subject: Re: How to do numeric validations in DTD
From: Miloslav Nic <nicmila@xxxxxxxx>
Date: Fri, 21 Jan 2000 06:33:27 +0100
|
You cannot do it in DTD, but with Schematron it is very easy:
http://www.ascc.net/xml/resource/schematron/schematron.html
http://zvon.vscht.cz/HTMLonly/SchematronTutorial/General/contents.html
Con_Shravan Gunda wrote:
>
> Hi All,
>
> How to do numeric validations in DTD??
>
> Like i written one xml like this..
>
> <personalinfo>
> <ssn>123456789</ssn>
> </personalinfo>
>
>
> How to write a DTD, which validates the value of SSN as numeric.
>
> Thanks,
> shravan
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
--
***************************************************************
Dr. Miloslav Nic e-mail: nicmila@xxxxxxxx
Department of Organic Chemistry TEL: +420 2 2435 5012
ICT Prague (VSCHT Praha) +420 2 2435 4118
FAX: +420 2 2435 4288
****************************************************************
Support free information exchange: http://zvon.vscht.cz
****************************************************************
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|