je veut recuperer une balise spécifiée avec sa valeur à partir d'une String
Exp:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
String str="responseMSG=<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 <soapenv:Body>
  <authToken generic="2.0" operator="jUDDI.org" xmlns="urn:uddi-org:api_v2">
   <authInfo>authToken:AA3A43B0-7579-11DC-83B0-F3664E3472A9</authInfo>
  </authToken>
 </soapenv:Body>
</soapenv:Envelope>"



Bien sur avec un parseur xml et pas avec un algo sur la String