hi again
i’m having a strange problem loading xml with html tags inside
this is part of my xml
<left>
<tit>INVESTIGAÇÃO E DESENVOLVIMENTO</tit>
<imagem>images/leftHomeEx.jpg</imagem>
<data>AUG 25 2008</data>
<titulo>ZebinixTM – novo anti-epiléptico que oferece uma esperança aos doentes que sofrem de epilepsia</titulo>
<texto> Resultados positivos dos três estudos de Fase III relativos a Zebinix™<br/>(acetato de eslicarbazepina) – novo medicamento anti-epiléptico – foram apresentados durante a 9th Eilat Conference on New Anti-epileptic Drugs. Resultados positivos dos três estudos de Fase III relativos a Zebinix™ (acetato de eslicarbazepina) – novo medicamento anti-epiléptico – foram apresentados durante a 9th Eilat Conference on New Anti-epileptic Drugs. </texto>
<verMaisBtn>ver mais</verMaisBtn>
<ligacao>http://www.google.pt</ligacao>
</left>
i have this actionscript
var infoXml:XMLDocument=new XMLDocument();
var infoTempXml:XML=new XML()
…
infoXml.ignoreWhite=true;
infoTempXml=XML(infoUrlLoader.data);
infoXml.parseXML(infoTempXml.toXMLString());
trace(infoXml)
…
… and part of the trace
…
</titulo><texto>
Resultados positivos dos três estudos de Fase III relativos a Zebinix™
<br />
(acetato de eslicarbazepina) – novo medicamento anti-epiléptico – foram apresentados durante a 9th Eilat Conference on New Anti-epileptic Drugs. Resultados positivos dos três estudos de Fase III relativos a Zebinix™ (acetato de eslicarbazepina) – novo medicamento anti-epiléptico – foram apresentados durante a 9th Eilat Conference on New Anti-epileptic Drugs.
</texto><verMaisBtn>
…
so,
i don’t know why, but something is creating a breakline after <texto> which is creating some strange extra space when i place that text in a textfield.
i tried without the <br/> and this problem didn’t happened, but, i might need <br/>'s there(this text will come from a database, where the user will put text as his wish)
can someone help me?