Why doesn’t ignoreWhite = true work?
var xmlwebsiteContent:XML = new XML();
xmlwebsiteContent.ignoreWhite = true;
xmlwebsiteContent.onLoad = loadWebsiteContent;
xmlwebsiteContent.load("website3.xml");
function loadWebsiteContent(succes) {
if (succes) {
}
}
part of the xml file
<?xml version="1.0" encoding="utf-8"?>
<website>
<menu>
<menuItem gotoURL="/index">
Portfolio
</menuItem>
</menu>
</website>
but when i trace i still get extra whitespace around Portfolio??