Re: Convert String data from Web Service to XML
- From: Mark <mcoleman@xxxxxxxxxxx>
- Date: Tue, 12 Feb 2008 15:48:53 -0800 (PST)
On 12 Feb, 16:05, Avinash <avinashd...@xxxxxxxxx> wrote:
Hi
I am trying to Convert String data from Web Service to XML
My String data looks like
<String>My XML is inside this string tag </String>
I want to extract the XML inside the string tag in Orchestration, How
do i do it ??
Any help is appreciated.
Thanks-
Avinash
You could load it into a DOM using System.Xml.XmlDocument. If it is a
small piece of XML this shouldn't be too much of an overhead. If it's
a large amount of data this is not recommended as it will consume lots
of memory. Another option is to use an XmlTextReader (also in the
System.Xml namespace) to parse the document and use the
ReadElementContentAsString method to retrieve the value. Another quick
and dirty method is string parsing.
.
- Follow-Ups:
- Re: Convert String data from Web Service to XML
- From: Avinash
- Re: Convert String data from Web Service to XML
- References:
- Convert String data from Web Service to XML
- From: Avinash
- Convert String data from Web Service to XML
- Prev by Date: Re: Can someone explain why I get this error message
- Next by Date: Re: Can someone explain why I get this error message
- Previous by thread: Convert String data from Web Service to XML
- Next by thread: Re: Convert String data from Web Service to XML
- Index(es):
Relevant Pages
|
Loading