Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XML problem
Message
De
17/11/2014 09:08:09
 
 
À
17/11/2014 09:01:50
Information générale
Forum:
Windows
Catégorie:
Services Web
Titre:
Versions des environnements
OS:
Windows 7
Divers
Thread ID:
01611080
Message ID:
01611085
Vues:
34
Thanks Tore but my problem is that the lookup tag is getting mangled. Are you saying the & (ampersand) coding is doing that ?

>The & (ampersand) is a special character, just like it is in XML, so you must encode it, meaning that you must encode it.
>
>http://xml.silmaril.ie/specials.html
>
>>HI
>>
>>I'm calling a web service to return some XML
>>
>>The web service is a test portal for a SUN accounts system.
>>
>>I want to save the XML passed back as a file for some testing.
>>
>>But when I view the source of the XML in Chrome it seems to alter some of the tags so what I get is not a valid XML document.
>>
>>For instance
>>
>>
>>
>><AnalysisCodes>
>><AnalysisCode>CSX624</AnalysisCode>
>><LookupCode>ESTCSX624</LookupCode>
>><Name>ESTIM & MAN OO PROJ MAY00</Name>
>></AnalysisCodes>
>>
>>is saved as 
>>
>><AnalysisCodes><AnalysisCode>CSX624</AnalysisCode>LookupCode>ESTCSX624</LookupCode><Name>ESTIM & MAN OO PROJ MAY00</Name></AnalysisCodes>
>>
>>so the <lookup> tag is changed to lookup>
>>
>>
>>
>>Any ideas why that would be or a better way to save this xml for testing.
>>
>>Eventually this will be automated but I wanted to check the processing of the XML
>>
>>Thanks
>>
>>Nick
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform