You could certainly parse out the xml and write it out to the screen,
however, I don't see the point. Even in classic ASP you'd want to
transform it using XSL. If you want to go with that approach, you can
use the XML Server Control:
 
   <asp:Xml id="myXmlControl" runat="server" DocumentSource="<url>"
TransformSource="<url>"/>

Again, as stated earlier, it's probably best to load it into a DataSet
and bind to a DataGrid. You can do that completely by hand if you don't
want to use Visual Studio.Net.

______________________
Paul Brinkley-Rogers
Web Developer
The Sak
[EMAIL PROTECTED]
http://www.thesak.com 



-----Original Message-----
From: Ben Joyce [mailto:ben@;babelfish.co.uk] 
Sent: Tuesday, October 29, 2002 6:53 PM
To: dotnet
Subject: RE: Asp.Net and XML

I didn't! Staffan did!

> -----Original Message-----
> From: Paul Brinkley-Rogers [mailto:Paul@;TheSak.com] 
> Sent: 30 October 2002 02:31
> To: dotnet
> Subject: RE: Asp.Net and XML
> 
> 
> You asked for the easiest way :)
> 
> ______________________
> Paul Brinkley-Rogers
> Web Developer
> The Sak
> [EMAIL PROTECTED]
> http://www.thesak.com 
> 
> 
> 
> -----Original Message-----
> From: Ben Joyce [mailto:ben@;babelfish.co.uk] 
> Sent: Tuesday, October 29, 2002 4:33 PM
> To: dotnet
> Subject: RE: Asp.Net and XML
> 
> hmm, how about programmmatily enumerating the elements?  or are
> DataGrid's the right way to do things these days?
> 
> I'm still in the camp that believes everything should be done by hand.
> 
> > -----Original Message-----
> > From: Guha, Rahul [mailto:rahul.guha@;intel.com] 
> > Sent: 29 October 2002 22:32
> > To: dotnet
> > Subject: RE: Asp.Net and XML
> > 
> > 
> > Bind it with a datagrid ... 
> > Steps:
> >     1. Load the xml doc in xmldocument
> >     2. Create DataSet from there ( using ReadXML) method
> >     3. Bind the dataset to the datagrid
> > hth
> > Rahul
> > 
> > 
> > -----Original Message-----
> > From: Staffan Carlsson [mailto:info@;softsystems.se]
> > Sent: Monday, October 28, 2002 2:43 AM
> > To: dotnet
> > Subject: Asp.Net and XML
> > 
> > 
> > How can i read this XML-doc into a asp.net page in tables and 
> > cells in the
> > easiest way ???
> > 
> > 
> > <ROOT>
> > <Hss Name="qwerty" Filename="http://www.mysite.com/1.bmp";>
> >   <hxx Cat="Cat12" /> 
> >   </Hss>
> > <Hss Name="asdf" Filename="http://www.mysite.com/2.bmp";>
> >   <hxx Cat="Cat13" /> 
> >   </Hss>
> > </ROOT>
> > 
> > TIA
> > Staffy
> > 
> > ---
> > You are currently subscribed to dotnet as: [EMAIL PROTECTED]
> > To unsubscribe send a blank email to %%email.unsub%%
> > 
> > ---------
> > Administrated by 15 Seconds : http://www.15Seconds.com
> > List Archives/Search : http://local.15Seconds.com/search
> > Subscription Information : http://www.15seconds.com/listserv.htm
> > Advertising Information: http://www.internet.com/mediakit/
> > 
> > 
> > ---
> > You are currently subscribed to dotnet as: [EMAIL PROTECTED]
> > To unsubscribe send a blank email to 
> > %%email.unsub%%
> > 
> > ---------
> > Administrated by 15 Seconds : http://www.15Seconds.com
> > List Archives/Search : http://local.15Seconds.com/search
> > Subscription Information : http://www.15seconds.com/listserv.htm
> > Advertising Information: http://www.internet.com/mediakit/
> > 
> > 
> 
> 
> ---
> You are currently subscribed to dotnet as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to
> %%email.unsub%%
> 
> ---------
> Administrated by 15 Seconds : http://www.15Seconds.com
> List Archives/Search : http://local.15Seconds.com/search
> Subscription Information : http://www.15seconds.com/listserv.htm
> Advertising Information: http://www.internet.com/mediakit/
> 
> 
> 
> ---
> You are currently subscribed to dotnet as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to 
> %%email.unsub%%
> 
> ---------
> Administrated by 15 Seconds : http://www.15Seconds.com
> List Archives/Search : http://local.15Seconds.com/search
> Subscription Information : http://www.15seconds.com/listserv.htm
> Advertising Information: http://www.internet.com/mediakit/
> 
> 


---
You are currently subscribed to dotnet as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
%%email.unsub%%

---------
Administrated by 15 Seconds : http://www.15Seconds.com
List Archives/Search : http://local.15Seconds.com/search
Subscription Information : http://www.15seconds.com/listserv.htm
Advertising Information: http://www.internet.com/mediakit/



---
You are currently subscribed to dotnet as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

---------
Administrated by 15 Seconds : http://www.15Seconds.com
List Archives/Search : http://local.15Seconds.com/search
Subscription Information : http://www.15seconds.com/listserv.htm
Advertising Information: http://www.internet.com/mediakit/


Reply via email to