Groups | Blog | Home
all groups > dotnet xml > february 2005 >

dotnet xml : XML Data Retrieval


Digga
2/11/2005 5:31:05 AM
Hi

I'm not sure if I'm asking this question in the right group, so if anyone
could give me pointer to the solution I'd really appreciate it.

Situation:
I'm building a ASP based calendar type of system. I've run into a problem
that I can't reolve as I know nothing about XML, not entirely true, but close.
This system needs to interogate the free/busy data contained in Exchange
2003 for multiple users. I came across this fantastic URL, using OWA which
returns the free/busy data as xml back to the browser
https://exchServer.myDomain.com/public/?cmd=freebusy&start=2005-02-28T07:30:00-00:00&end=2005-02-28T16:30:00-00:00&interval=30&u=SMTP:first.last1@myDomain.com&u=SMTP:first.last2@myDomain.com
When this is run in the browser, IE displays the results as XML. The plain
XML output is not particularly great from a user perspective, I do know how
to format using XSL.

Result Needed (ideally):
I need this XML file to return the data to the server rather than the
browser, so I can apply the XSL and display the results in a meaningful way
to the end users.

Is this possible?
Can XML data be retrieved through a URL dynamically built in an ASP or
ASP.NET page so I can manipulate the results and create/save the file for
later use?

Dino Chiesa [Microsoft]
2/11/2005 2:25:07 PM
Yes, the server-based logic can grab the URL and then transform it.
This is a working example of an ASP.NET page that does this.
http://cheeso.members.winisp.net/xml1/

But if you are not an XML expert, then the XSL can get pretty hairy !!!

Another way to go is to just do Xpath on the returned XML and get individual
pieces.
Good luck!

-D

--
Dino Chiesa
Microsoft Developer Division
d i n o c h @ OmitThis . m i c r o s o f t . c o m


[quoted text, click to view]

Digga
2/14/2005 1:47:02 AM
Hi Dino

Thanks for the reply, thats exactly what I need to do.

Regards,

Lee

[quoted text, click to view]
AddThis Social Bookmark Button