943,670 Members | Top Members by Rank

Jun 26th, 2009
0

Need suggestion on sending HTML content over webservice

Expand Post »
Hi All,
I have this requirement to do and am still scratching my head. Actually am not that comfortable with webservice but am still fighting and need some help.

Here i go.
I need to send xHTML content through webservice. Something like if someone calls my API he gets a html content and he can use it in there website.

Approach i thought:
Send the xhtml content in the XML itself and have a method in my API to strip it down. Though am not sure about the after effect about this approach i request you guys for some idea.
Similar Threads
Reputation Points: 30
Solved Threads: 0
Junior Poster in Training
kaushik259106 is offline Offline
62 posts
since May 2006
Jun 29th, 2009
0

Re: Need suggestion on sending HTML content over webservice

You could return your xhtml in a cdata block.
http://www.w3schools.com/xmL/xml_cdata.asp
Sponsor
Featured Poster
Reputation Points: 550
Solved Threads: 728
Bite my shiny metal ass!
pritaeas is offline Offline
4,163 posts
since Jul 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in RSS, Web Services and SOAP Forum Timeline: I need a description about RSS
Next Thread in RSS, Web Services and SOAP Forum Timeline: Need help on restful web service





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC