Есть xml файл:

Код:
<gal_element name="button_name" button="gallery_pictures/buttons/2_but.jpg">
<sub_element big_pic="gallery_pictures/pictures/cookinlet.jpg" thumbnail="gallery_pictures/thumbnails/cookinletpreview.jpg"><b> Welcome to Macromedia Flash MX 2004 and Macromedia Flash MX </b> Professional 2004. Flash provides everything you need to create and deliver rich web content and powerful applications. Whether you're designing motion graphics or building data-driven applications, Flash has the tools necessary to produce great results and deliver the best user experience across multiple platforms and devices.</sub_element>
Парсю:

Код:
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.load("gallery_pictures/r4.xml");
xmlData.onLoad = obrabotka_xml;
function obrabotka_xml(success) {
if (success) {
xmlNode = xmlData;
total = xmlNode.childNodes.length;
trace(xmlNode.childNodes[0].childNodes[0].childNodes.toString());
} else {
trace("File not found!");
}
}
А trace мне выдаёт:
Цитата:
|
<b> Welcome to Macromedia Flash MX 2004 and Macromedia Flash MX </b>, Professional 2004. Flash provides everything you need to create and deliver rich web content and powerful applications. Whether you're designing motion graphics or building data-driven applications, Flash has the tools necessary to produce great results and deliver the best user experience across multiple platforms and devices.
|
Откуда эта запятая??? Как её убрать? Чудеса какие-то
