|
Home > Archive > BizTalk Server Orchestration > June 2004 > What exactly is xpath ?
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 |
What exactly is xpath ?
|
|
| Steef D. 2004-05-18, 5:05 pm |
| In an expression I can use a statement like s = xpath( Message_1, "count(/nodes/node)"),
which will end up in something this :
__ctx1__.__s = (System.String)Microsoft.XLANGs.Core.Part.XPathLoad( null, "count(/nodes/node)", typeof(System.String));
What exactly does the statement 'xpath' mean ? Is this documented anywhere ?
| |
| Gilles [MSFT] 2004-05-18, 8:37 pm |
| Hello,
>In an expression I can use a statement like s = xpath( Message_1, "count(/nodes/node)"),
>which will end up in something this :
>__ctx1__.__s = (System.String)Microsoft.XLANGs.Core.Part.XPathLoad( null, "count(/nodes/node)", typeof(System.String));
>What exactly does the statement 'xpath' mean ? Is this documented anywhere ?
XPath is a standard which allows nodes to be retrieved from XML documents. A quick description of XPath can be found here:
http://msdn.microsoft.com/msdnmag/i...es/default.aspx
The xpath statement runs the given XPath statement (second argument) against the given message (first argument).
The xpath function is documented on MSDN. A convenient entry point for this is here:
http://msdn.microsoft.com/library/e....asp?frame=true
You probably also want to read the topic "Constructing Messages".
Thanks.
-Gilles.
| |
| Steef D. 2004-06-01, 5:01 pm |
| It seems to me that this 'xpath' is not really xpath as it is known in
..Net and MSXML 4.0. I can retrieve the value of an attribute using the
xpath implementations in these two, but the xpath statement in BizTalk
won't.
|
|
|
|
|