Reading XML News
page 2 of 4
by . .
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 20550/ 25

The News.xml File

News.xml is the file that contains all of the news. It's structure is quite important (otherwise it doesn't work), however some elements can be swapped around.

  • <news>

    • <item>

      • <headline> - must be at the top.

      • <byline> - doesn't have to be, but recommended.

      • <blurb> - doesn't have to be, but recommended.

      • <link> - has to be here.

      • <image> - has to be here, has to contain an image (you can set it to a blank image).

    • </item>

  • </news>

The news.xml that we're going to be using is here.


View Entire Article

User Comments

No comments posted yet.

Product Spotlight
Product Spotlight 





Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-03-28 2:39:49 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search