Help parsing XML with html using E4X

Hey guys!

Ran into some problems when a client asked me to use the xml that is created from an
admin where the user can format the text as she or he wants it. With bold, italic, insert link and so on. Doing all that in a frame in the browser that is.
As you would guess from a proper admin tool more or less.

Now, the xml looks like this

<FAQSchema xmlns="http://tempuri.org/FAQSchema.xsd">
  <FAQItem>
    <Question>Some headline</Question>
    <Answer><p><span style="font-size: 10pt; font-family: quot;Arialquot;
,quot;sans-serifquot;; mso-ansi-language: SV; mso-fareast-font-family: 
'Times New Roman'; mso-fareast-language: SV; mso-bidi-font-size: 11.0pt; 
mso-bidi-language: AR-SA"
>After that we have alot of text that isnt important here</span></p></Answer>
  </FAQItem>
</FAQSchema>

I know E4X is so powerful and all, but I just can´t solve this, no matter what I do,
I end up with the html tags in my xml text, at best.

This is some of the code I´m using now

[AS]var loader:URLLoader = new URLLoader();
var faqitem:XMLList = null;
loader.addEventListener(Event.COMPLETE,loadXML);
loader.load(new URLRequest(“data/GetPageInfo.aspx.xml”));

function loadXML(e:Event):void
{
faqitem = new XML(e.target.data).children();
for (var i:int=0;i<faqitem.length();i++)
{

	var xmlblock:XML = faqitem*;
	var block:XMLList = xmlblock.children();
	var header:String = block[0].text();
	var txt:String = block[1].text();
	trace(block[1].children())
}

}[/AS]
So here´s hoping there´s someone out there who´s better at E4X than I am :slight_smile:

Thanks alot in advance

All the best

/Rundevo