[thelist] Is XML OT? (Long Code Sample)

Richard Bennett mail at richardinfo.com
Wed Oct 17 17:47:50 CDT 2001


----- Original Message -----
From: "Salvatore Palmisano" <spalmisano at usashs.com>

> Im jumping into XML with a Sams "Teach yourself XML in 24 hours" book and
> have a question about a code sample.
> Ive gone over this code again and again and cant find a syntax error, and

Hi,
Search for "nodename" and change it to "nodeName"

That gets the basic code working.
Then go to a validator, and validate XHTML, you will find there are a lot of
style errors you'll be wanting to avoid when working with XML.

Also, "body" is a reserved word (AFAIK), best to avoid using words like that
for IDs.

Cheers,
Richard.
www.richardinfo.com





More information about the thelist mailing list