# Ignorewhite doesn't seem to work?

**URL:** https://forum.kirupa.com/t/ignorewhite-doesnt-seem-to-work/258345
**Category:** Uncategorized
**Created:** [April 23, 2008, 9:12am UTC](https://forum.kirupa.com/t/ignorewhite-doesnt-seem-to-work/258345 "2008-04-23T09:12:59Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![keitai](https://avatars.discourse-cdn.com/v4/letter/k/73ab20/32.png) [@keitai](https://forum.kirupa.com/u/keitai)
#### Post date: [April 23, 2008, 9:12am UTC](https://forum.kirupa.com/t/ignorewhite-doesnt-seem-to-work/258345/1 "2008-04-23T09:12:59Z")

</div>

Why doesn’t ignoreWhite = true work?

```auto

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

```auto

<?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??
