[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: How to do numeric validations in DTD

Subject: Re: How to do numeric validations in DTD
From: "John E. Simpson" <simpson@xxxxxxxxxxx>
Date: Thu, 20 Jan 2000 15:14:17 -0500
dtd numeric datatype
At 02:04 PM 01/20/2000 -0500, Con_Shravan Gunda wrote:
How to do numeric validations in DTD??

Like i written one xml like this..


How to write a DTD, which validates the value of SSN as numeric.

The question's off-topic for XSL-List, but the short answer is that DTDs are (with trivial exceptions) datatype-blind: you can't "validate as [fill in datatype here]" anything with a DTD. You might want to take a look at XSchema, which will replace/enhance DTDs (including datatype support) using XML syntax... and then, of course, ask further questions on XML-L or XML-DEV. :)

John E. Simpson            |  I spilled spot remover on my dog.
simpson@xxxxxxxxxxx        |  He's gone now.
http://www.flixml.org      |  (Stephen Wright)

XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.