# Xml and dynamic text box

**URL:** <https://forum.kirupa.com/t/xml-and-dynamic-text-box/104263>\
**Category:** Uncategorized\
**Created:** [March 14, 2004, 4:18am UTC](https://forum.kirupa.com/t/xml-and-dynamic-text-box/104263 "2004-03-14T04:18:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vo\_M](https://avatars.discourse-cdn.com/v4/letter/v/77aa72/32.png) [@Vo\_M](https://forum.kirupa.com/u/Vo_M)\
**Post date:** [March 14, 2004, 4:18am UTC](https://forum.kirupa.com/t/xml-and-dynamic-text-box/104263/1 "2004-03-14T04:18:20Z")

</div>

hi  
i tried to use the coding from  
[http://www.nwebb.co.uk/nw\_htmlsite/index.php?page=browse\_tutorial&tutorial=xmlhtmlcss1&part=1](http://www.nwebb.co.uk/nw_htmlsite/index.php?page=browse_tutorial&tutorial=xmlhtmlcss1&part=1)  
and for some reason it doesn’t work for me. this is my line of code so far…

```auto
//init TextArea component
Profile.html = true;
Profile.wordWrap = true;
Profile.multiline = true;
Profile.label.condenseWhite=true;
//load css
/*UserInfo = new TextField.StyleSheet();
UserInfo.load("UserInfo.css");
Profile.styleSheet = UserInfo;*/
//load in XML
UserInfoContent = new XML();
UserInfoContent.ignoreWhite = true;
UserInfoContent.load("UserInfo.xml");
UserInfoContent.onLoad = function(success)
{
	if(success)
	{
		Profilet.text = UserInfoContent;
	}
} 

```

as of now, my xml is called UserInfo.xml, my dynamic text box is called Profile. and the sub line in my xml file is called UserInfo

and nothing shows up in the text box when i test the flash file.  
Please let me know of any solutions  
Thanks
