| Author |
How to convert a message to string?
|
|
| Cindy Liu 2004-10-26, 5:48 pm |
| Hi,
I receive a Biztalk message and want to parse that xml string. Is there
anyway I can convert the whole message to a string and load it in XmlDocument?
Thanks in advance!!!
Cindy
| |
| Greg Forsythe 2004-10-27, 7:46 am |
| Are you coding a pipeline component or an orchestration?
I will assume an orchestration.
The Biztalk message is interchangeable with an XmlDocument.
Create an orchestration variable (MyXmlDocument) of type
System.Xml.XmlDocument
In an expression shape
MyXmlDocument = BiztalkMessage;
Depending on what you wish to do, you may find the xpath() function useful
for direct access to the BiztalkMessage rather than creating the
XmlDocument.
Greg
"Cindy Liu" <CindyLiu@discussions.microsoft.com> wrote in message
news:C51EE0FC-3B89-4563-9F53-B683998CB968@microsoft.com...
> Hi,
>
> I receive a Biztalk message and want to parse that xml string. Is there
> anyway I can convert the whole message to a string and load it in
XmlDocument?
>
> Thanks in advance!!!
> Cindy
| |
| Cindy Liu 2004-10-27, 5:49 pm |
| I'm coding an orchestration. It is very helpful.
Thanks,
Cindy
"Greg Forsythe" wrote:
> Are you coding a pipeline component or an orchestration?
> I will assume an orchestration.
> The Biztalk message is interchangeable with an XmlDocument.
> Create an orchestration variable (MyXmlDocument) of type
> System.Xml.XmlDocument
> In an expression shape
>
> MyXmlDocument = BiztalkMessage;
>
> Depending on what you wish to do, you may find the xpath() function useful
> for direct access to the BiztalkMessage rather than creating the
> XmlDocument.
>
>
> Greg
>
> "Cindy Liu" <CindyLiu@discussions.microsoft.com> wrote in message
> news:C51EE0FC-3B89-4563-9F53-B683998CB968@microsoft.com...
> XmlDocument?
>
>
>
| |
| Cindy Liu 2004-10-27, 5:49 pm |
| Hi Greg,
Where can I find the document on how to use xpath() function?
Thanks,
Cindy
"Greg Forsythe" wrote:
> Are you coding a pipeline component or an orchestration?
> I will assume an orchestration.
> The Biztalk message is interchangeable with an XmlDocument.
> Create an orchestration variable (MyXmlDocument) of type
> System.Xml.XmlDocument
> In an expression shape
>
> MyXmlDocument = BiztalkMessage;
>
> Depending on what you wish to do, you may find the xpath() function useful
> for direct access to the BiztalkMessage rather than creating the
> XmlDocument.
>
>
> Greg
>
> "Cindy Liu" <CindyLiu@discussions.microsoft.com> wrote in message
> news:C51EE0FC-3B89-4563-9F53-B683998CB968@microsoft.com...
> XmlDocument?
>
>
>
| |
|
|
|
|