value error when parsing XML
From: Ajay Brar (abra9823_at_mail.usyd.edu.au)
Date: 07/31/04
- Next message: Ernie: "Re: Quixote demo"
- Previous message: Harald Massa: "Re: Replacement for locals() ???"
- Next in thread: Diez B. Roggisch: "Re: value error when parsing XML"
- Reply: Diez B. Roggisch: "Re: value error when parsing XML"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 31 Jul 2004 20:20:39 +1000 To: python-list@python.org
hi!
i get a value error when parsing an xml file. This is because it can't
find the DTD -
ValueError: unknown url type: ../um_xml/um.dtd
From what i have discovered in the archives, this happens when your XML
and DTD file are not in your current directory
i have the directory structure
home
user - this is where i am running the script from
um_xml- this is where the xml and dtd are
can someone please tell me how i can workaround this problem. the script
executes fine when the xml and dtd files are in user/. But i don't
really want to put them there.
any ideas?
thanks
cheers
-- Ajay Brar
- Next message: Ernie: "Re: Quixote demo"
- Previous message: Harald Massa: "Re: Replacement for locals() ???"
- Next in thread: Diez B. Roggisch: "Re: value error when parsing XML"
- Reply: Diez B. Roggisch: "Re: value error when parsing XML"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|