java - How to parse XML element from SOAP response using Jsoup -


i'm having problem in parsing xml element returned soap because xml structure :

    <a:journey>     <a:infantprice>0</a:infantprice>     ...     </a:journey> 

i have tried

.select("journey") .select("a:journey") 

but still not getting xml value. possible select xml segment format using jsoup?

thanks in advance

i think, got answer question.

i should use :

.select("a|journey"); 

according documentation :

ns|tag: find elements tag in namespace, e.g. fb|name finds elements

source : http://jsoup.org/cookbook/extracting-data/selector-syntax

thanks


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -