| Web Standards Design Discuss accessibility, CSS, XHTML and more. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread |
|
|
#1 (permalink) |
|
Registered User
Comfy Contributor
Joined in Jun 2005
Lives in Singapore
Hosted on Pass15
120 posts
Gave thanks: 2
Thanked 0 times
|
XML with <textformat> load into htmlText
I'm desperate looking for a solution to this:
i have XML snippet <career> <![CDATA[please send in by email your cover letter and resume to: <textformat tabstops="50, 100"> Address\tPerson\tnumber Address2\tPerson2\tnumber2 </textformat>]]> </career> then in flash i use textField.htmlText = career.firstChild.nodeValue but it doesn't work. the \t is not formatted and appears as it is: \t Anyone knows how to get around? |
|
|
|
|
|
#3 (permalink) |
|
Registered User
Comfy Contributor
Joined in Jun 2005
Lives in Singapore
Hosted on Pass15
120 posts
Gave thanks: 2
Thanked 0 times
|
I'm so stupid!
I finally managed to fix it.... and I can go bang the wall and die. It's just as simple as press the TAB key on the keyboard!!! Why didn't I think of that earlier.
Thanks H for the clue about not parsing CDATA. I think I'll just leave it here hopefully it helps another that comes by. |
|
|
|