August 4th, 2002, 02:12 PM
problem with parsing xml
ok, i've got a small problem with my cms. i'm generating code out off a database (last x news/articles). following the xml-output. the problem is, that as soon as i'll open the file in ie or ns, the browser tells me that the file can't be parsed because of some missing data. but where's my mistake?
Thank you for your help!!!
<title>Contentpapst - Webnews</title>
<copyright>Copyright 2002, sandoba.de medien agentur</copyright>
<title>es ist bald wieder weihnachten!</title>
August 5th, 2002, 12:09 PM
have you tried including a DTD or Schema??
August 5th, 2002, 12:57 PM
sorry, don't know what you mean with dtd. can you please explain it short'n'simple?
August 5th, 2002, 10:44 PM
Document Type Definition...
Basically, it defines the structure of your XML document. It tells the XML parser exactly which elements and attributes are allowed in your document and in what order...
Here's an introduction:
Schemas accomplish the same task, but are slightly friendlier.
Here's an introduction on that:
Check it out, if it doesn't solve your problem, it's still important to know.