ciao a tutti !
ho un piccolo problema sulla formattazione del testo da un file XML
...eseguo questi comandi per visualizzare i dati
for (k=0; k<=arrMsg.length; k++) {
if (arrMsg[k].nodeName == "msg") {
arrDesc = arrMsg[k].childNodes;
pointNum = "•";
(TITOLO) _root.mc_info.mc_msgtxt.txt_msg += pointNum+" "+arrMsg[k].firstChild.nodeValue+"
"
for (y=0; y<=arrDesc.length; y++) {
if (arrDesc[y].nodeName == "desc") {
(DESCRIZIONE) _root.mc_info.mc_msgtxt.txt_msg +="- "+arrDesc[y].firstChild.nodeValue+"
";
il problema è che mi mette molto spazio fra il TITOLO e la DESCRIZIONE mentre io vorrei avere solo un a capo.
grazie! swan