Bonjour,
J'ai un fichier XML avec la structure suivante que je désire lire:
Auriez-vous une piste à me donner pour le parser ?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 <S:Envelope xmlns:S="<a href="http://schemas.xmlsoap.org/soap/envelope/" target="_blank">http://schemas.xmlsoap.org/soap/envelope/</a>"> <S:Body> <ns2:getLegalFormsResponse xmlns:ns2="<a href="http://www.e-service.admin.ch/zefix/2015-06-26" target="_blank">xxxxx</a>" xmlns:ns3="<a href="http://www.ech.ch/xmlns/eCH-0010/4" target="_blank">xxxx</a>" xmlns:ns4="<a href="http://www.ech.ch/xmlns/eCH-0097/2" target="_blank">xxxx</a>"> <ns2:result> <ns2:legalForm> <ns2:legalFormId>1</ns2:legalFormId> <ns2:legalFormUid>0101</ns2:legalFormUid> <ns2:legalFormName xml:lang="de">Einzelunternehmen</ns2:legalFormName> <ns2:legalFormName xml:lang="fr">Entreprise individuelle</ns2:legalFormName> <ns2:legalFormName xml:lang="it">Impresa individuale</ns2:legalFormName> <ns2:legalFormName xml:lang="en">Sole proprietorship</ns2:legalFormName> </ns2:legalForm> </ns2:result> </ns2:getLegalFormsResponse> </S:Body> </S:Envelope>
Merci
Partager