[thelist] XML 2.0
Warden, Matt
mwarden at odyssey-design.com
Mon Feb 12 20:51:15 CST 2001
> > NOPE. DTDs are only for the validation of your documents... so you don't
> use a
> > <dan-tag /> when that's not a tag you should be using (usually because
> it's
> > not being handled by a stylesheet or parser) or if you type an attribute
> as
> > vlue='blah' when it should be value='blah'. But there are a lot of other
> > goodies in DTDs like datatype validation, etc.
> >
> Isn't what XML Schema for (I mean datatype validation )?
It's taking over.
> I thought DTD were for document validation, but the datatype inside the
> #CDATA was no use for that.
There are more datatypes than CDATA. CDATA basically means "whatever".
--
mattwarden
mattwarden.com
More information about the thelist
mailing list