Flash - leer XML

 
Vista:

leer XML

Publicado por Itziar (3 intervenciones) el 19/12/2005 11:33:09
como puedo leer un xml que tengo cargado en un string??
en una variable string recupero el siguiente XML y lo tengo que leer

strXML="<?xml version="1.0" encoding="iso-8859-1"?>
<RESPONSE>
<LAYERINFO>
<Capa type="Text">Bizkaia</Capa>
<NombreMunicipio type="Text">Abadino</NombreMunicipio>
</LAYERINFO>
<LAYERINFO>
<Capa type="Text">Ortofotos</Capa>
<TextoOrtofoto type="Text">WINN1</TextoOrtofoto>
</LAYERINFO>
<LAYERINFO>
<Capa type="Text">Montes</Capa>
<CodigoMonte type="Text">1</CodigoMonte>
<NombreMonte type="Text">prueba</NombreMonte>
</LAYERINFO>
</RESPONSE>"
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder