Displaying XML with ASP.NET
I said in my first post that I would be back when I find myself stuck again, well...I'm stuck again.
Kind of at least. I haven't gotten to the point of being stuck since I need a point in the right direction first.
Now, enough of that. My next goal is finding the best way to go about displaying XML as HTML. In my ASP.NET studies, I've read about the neat @render function to create layout pages. It was a big step in the right direction. I'm trying to find a way to play off that.
A big part of my project is a database of articles. Each article shares the common sections 'title,' 'date,' 'author,' 'category,' and 'content.' I'd like to create an article layout page, then have it refer to a particular XML sheet for each article and replace the corresponding divisions on the layout page with the correct sections of the article.
I'm not sure if this makes sense here, I can see it in my head though. Is there some way to make a @render type function pull information from the XML and place it in it's correct spot on the page?
I just recently heard about XSLT, but I do not know enough about it yet to know if this will be useful. I will continue my reading in the meantime.
Any feedback, or a friendly point in the right direction will be greatly appreciated.