In article < .com>,
Banaticus <> wrote:
>The document works fine for my purposes
This is not a good way to think. Using wrong XML that happens to work
because it isn't checked will just lead to trouble later on.
>I just need help learning how
>to do the Doctype declarations so that I can have some auomated parser
>check the document for me (in case I put in a " in a block of text
>instead of an "
.
Having a DOCTYPE won't help with that. There's (almost) only one
place where you have to use " instead of ", and that's in an
attribute value delimited by ". This should be detected regardless of
whether you have a DOCTYPE.
Roughly speaking, the only thing a DOCTYPE helps with is ensuring that
you have the right attributes on your elements, and that you have the
right elements inside other elements.
>Is there a website that you'd reccomend for learning how to do this?
I haven't really compared sites, but you might try
http://www.w3schools.com/dtd/
-- Richard