BizTalk Server Orchestration - XPath Question

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > March 2005 > XPath Question





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 Question
TimG

2005-03-17, 3:04 am

My webservice returs the following xml

<?xml version="1.0" encoding="utf-8"?>
<GetConfigurationValueActionResponse
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://xxx/ProcessConfigurationService/GetConfigurationValueAction/">
<values numberOfValues="1">
<value serviceName="LoanSubmissionProcess"
itemName="StatusReportEmailAddress" value="mailto:JoeBloggss@bloggy.com" />
</values>
</GetConfigurationValueActionResponse>

what is the xpath expression to get the attribute value
mailto:JoeBloggss@bloggy.com

Regards

Tim
Benny Mathew

2005-03-17, 3:04 am

try

/GetConfigurationValueActionResponse/values/value[@value]

or just

//@value

or

//value[@value]


Regards
Benny



"TimG" <TimG@discussions.microsoft.com> wrote in message
news:AEC70BDF-F3B2-453F-B714-834C145FB8D2@microsoft.com...
> My webservice returs the following xml
>
> <?xml version="1.0" encoding="utf-8"?>
> <GetConfigurationValueActionResponse
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>

xmlns="http://xxx/ProcessConfigurationService/GetConfigurationValueAction/">
> <values numberOfValues="1">
> <value serviceName="LoanSubmissionProcess"
> itemName="StatusReportEmailAddress" value="mailto:JoeBloggss@bloggy.com"

/>
> </values>
> </GetConfigurationValueActionResponse>
>
> what is the xpath expression to get the attribute value
> mailto:JoeBloggss@bloggy.com
>
> Regards
>
> Tim



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com