Why the requirement for the DOM Document? .Net has some pretty
extensive support for XML without using DOM (I could be wrong... but I
use XML extensively in .Net and have never used a DOM document). If you
give some details as to the application, I'm sure I could help you.
In fact I was using the DOM document. I am not sure if this is the best
way.
I have a XML file with RSS news. The function Build_RSS() must load the
XML data and display it in a ASP:Repeater in my HTML code as follows:
1. Channel/Title and Channel/Url values should be used as values in the
two ASP:Labels placed on HeaderTemplate of my ASP:Repeater. Something
like:
label_name.title = [ Channel Title from XML ]
label_name.url = [ Channel URL from XML ]
2. The items data should be used to create a dataset which is then bind
to my repeater and displayed in ItemTemplate. Something like:
If Session("Culture") = "pt-PT" Then
Dataset = [ All item values taken from [pt-PT] ] ...
Else If Session("Culture") = "en-GB" Then
Dataset = [ All item values taken from [pt-PT] ] ...
End
When you say XML "file" is it an actual text file on the hard drive or
a string already containing XML text? Or is it an incoming stream that
is being sent to your system (via HTTP POST or some other method)?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.