My first XML script is virtually copied from a tutorial but it comes up with validation errors that I can't find the solution to. Here's the basic code:<code>
<?xml version="1.0" ?>
<rss version="2.0">
<channel>
<title>A test feed</title>
<description>A sample description.</description>
<link>
<item>
<title>A sample item</title>
<description>An item everyone will want.</description>
<guid><link></item>
</channel>
</rss>
</code>
The validator doesn't like the last line (</rss), calling it a parsing error: "XML parsing error: <unknown>:18:0: not well-formed (invalid token)." I've tried all sorts of things - just can't figure it out.
That guid line was added to solve a 2nd problem.
Jake
<?xml version="1.0" ?>
<rss version="2.0">
<channel>
<title>A test feed</title>
<description>A sample description.</description>
<link>
<item>
<title>A sample item</title>
<description>An item everyone will want.</description>
<guid><link></item>
</channel>
</rss>
</code>
The validator doesn't like the last line (</rss), calling it a parsing error: "XML parsing error: <unknown>:18:0: not well-formed (invalid token)." I've tried all sorts of things - just can't figure it out.
That guid line was added to solve a 2nd problem.
Jake