[thelist] XML 2.0

Peter Van Dijck peter at vardus.com
Tue Feb 13 05:00:30 CST 2001


> > (By the way, I am writing a easy easy xml introduction for non-techies,
> > that's why)
>
>Ok. Have you revised it now?

erg.. no...
I understood that
"You receive an XML document. The XML document tells you which DTD it uses. 
You can now write a stylesheet for this document, and run the whole lot 
(XML document, DTD and stylesheet) through your XML parser (a program) that 
you had already laying around to automatically produce a nice HTML webpage."
Was kindof correct? As for the comments: it doesn't say the browser will do 
the parsing. Did I miss something in the email thread?

> > - xml is fantastic for exchanging data
>
>YES! You might want to add "securely" to that, because that's the biggie. It
>can be sent over HTTP/SSL.

thanks. I added that in.

> > would it make sense for a lot of applications to make your own?
>
>YES!!! If you're going to use a DTD, most cases you will want to make your
>own... unless you're trying to conform to some set of industry-specific
>standard (not contradictory, I swear!) tags... then you would use the one that
>is available for whatever you're doing.

thanks again. that clarified things... :)

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

So could you use any tags in an XML doc, and the DTD only validates the 
tags it knows about and lets everything else through?

Peter





More information about the thelist mailing list