BizTalk Server - xpath help

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server > May 2006 > xpath help





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author xpath help
Michael.Goit

2006-05-15, 1:14 pm

Hello, I'm having some troubles trying to find out how to write xpath to
access an attribute of an element.. can anyone help? links to good
documenation will also be appreciated!

Here's the message I'm trying to work with. I'm trying to assign an
xmldocument variable's outerxml property to the XmlMessage attribtue below.

<ns0:Request xmlns:ns0="http://SQLUpdateMessage">
<ns0:uspSaveMessageToWorkload EntityKey="EntityKey_0"
XmlMessage="XmlMessage_1" />
</ns0:Request>

Greg Forsythe

2006-05-15, 7:14 pm

The easiest way I have found is to open the schema, select the field
representing the attribute and then copy and paste the Local Xpath property

Greg

"Michael.Goit" <Michael.Goit@discussions.microsoft.com> wrote in message
news:F585ACE2-743E-4EE4-984E-85C9BD16AB11@microsoft.com...
> Hello, I'm having some troubles trying to find out how to write xpath to
> access an attribute of an element.. can anyone help? links to good
> documenation will also be appreciated!
>
> Here's the message I'm trying to work with. I'm trying to assign an
> xmldocument variable's outerxml property to the XmlMessage attribtue
> below.
>
> <ns0:Request xmlns:ns0="http://SQLUpdateMessage">
> <ns0:uspSaveMessageToWorkload EntityKey="EntityKey_0"
> XmlMessage="XmlMessage_1" />
> </ns0:Request>
>



BA

2006-05-16, 7:13 am

This may also help you get some background:

http://geekswithblogs.net/sthomas/a...0/25/13269.aspx

BA
http://biztalkia.blogspot.com


> Hello, I'm having some troubles trying to find out how to write xpath
> to access an attribute of an element.. can anyone help? links to good
> documenation will also be appreciated!
>
> Here's the message I'm trying to work with. I'm trying to assign an
> xmldocument variable's outerxml property to the XmlMessage attribtue
> below.
>
> <ns0:Request xmlns:ns0="http://SQLUpdateMessage">
> <ns0:uspSaveMessageToWorkload EntityKey="EntityKey_0"
> XmlMessage="XmlMessage_1" />
> </ns0:Request>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com