INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

XML delimiter question

XML delimiter question

(OP)
Hello

I have validated my XML file and continue to get the following error with this: </siteMapNode> The validator (I have tried a couple) informs me that 'The end-tag for element type "siteMap" must end with a '>' delimiter.

Haven't I inserted a '>' delimiter? This is the code:

CODE --> XML

<?xml version="1.0"?>

<siteMap>
  <siteMapNode title="Home" description="Home" url="~/index.aspx" />
    <siteMapNode title="Register" description="Register"
      url="~/Register.aspx" />
<siteMapNode title="Success" description="Successfully registered" 
          url="~/success.aspx" />
          </siteMapNode>         
      <siteMapNode title="Login" description="Login"
        url="~/Login.aspx" />
      <siteMapNode title="Upload" description="Upload your files"
        url="~/upload.aspx" />
    </siteMapNode>
    <siteMapNode title="My Work" description="My Work"
        url="~/mywork.aspx" />
        <siteMapNode title="Contact me" description="Contact me"
          url="~/Contact.aspx" />
        <siteMapNode title="Thank you" description="Thank you for your message" 
          url="~/thank.aspx" /> 
 </siteMapNode>
<siteMapNode title="Error" description="Website error"
          url="~/error.aspx" />
</siteMapNode>
 </siteMapNode>  
 </siteMap> 

The success.aspx file is dependent on the Register.aspx file - it will only be seen by a new user who has successfully registered.

The upload.aspx file is dependent on Login.aspx because you cannot upload files without first logging in, and the thank.aspx file only appears after submitting the contact form.

Thanks for reading!

RE: XML delimiter question

You have 'self-closing tags' mixed in with closing tags. Self-closing 'tags' are only valid for empty elements and should NOT have a close tag as well.



Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum

RE: XML delimiter question

(OP)
Thanks for that, Chris. Resolved now!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close