"tee chwee liong" <tc...@hotmail.com> wrote

i just started to learn xml using python and i'm getting
error when opening the output xml. it doesnt give error when running.

Always post full error codes and the asociated source code.
For shorty programs like this its more convenient to include
the text in the body rather than as attachments.

how i can rectify the error when opening the output xml.
attached is my code, output in text file and output in xml.

The error I got from IE was an invalid name and looking at
you names it seems that you do indeed have an invalid
name in your XML.  When I deleted the space chartacter
it worked OK.

Error messages are there to help you find the error.
They are usually accurate. Read them carefully and
do as they ask.

HTH,


--
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/







--------------------------------------------------------------------------------


_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor



_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to