I'm working in VB.NET and trying to write a ReST service that will output the data to an XML format for consumption in an RSS reader. Can anyone help me? I understand ReST services for the most part now and have a basic one running with JSON output. I want to do the same thing now but with an XML output instead.
ReST and XML
Page 1 of 11 Replies - 572 Views - Last Post: 29 October 2012 - 02:17 PM
Replies To: ReST and XML
#2
Re: ReST and XML
Posted 29 October 2012 - 02:17 PM
Here is an example of how I would like to display the information using a ReST service.
<?xml version="1.0" encoding="UTF-8"?>
<Directory>
<employee id="{id}">
<name>
<TName> {Name_Title} </TName>
<FName> {Name_First} </FName>
<MName> {Name_Middle} </MName>
<LName> {Name_Last} </LName>
<SName> {Name_Suffix} </SName>
</name>
<email> {email} </email>
<dept> {dept} </dept>
<building> {building} </building>
<room> {room_numb} </room>
<title> {registrationTitle} </title>
<photo> http://www.demo.com/files/uploads/photos/{PhotoFileName} </photo>
<phone> {phone} </phone}
<fax> {fax} </fax>
</employee>
</Directory>
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote



|