XPath Question
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server Orchestration > XPath Question




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    XPath Question  
TimG


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-17-05 08: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





[ Post a follow-up to this message ]



    Re: XPath Question  
Benny Mathew


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-17-05 08: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







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:59 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register