You're missing a "<" in the CDATA tag - try this instead:

<node>
 <subnode var1="blah><![CDATA[some text <br> some more text]]></subnode>
</node>

Jason Merrill  










>>-----Original Message-----
>>From: [EMAIL PROTECTED]
>>[mailto:[EMAIL PROTECTED] Behalf 
>>Of Ryan Luce
>>Sent: Wednesday, February 01, 2006 11:19 PM
>>To: flashcoders@chattyfig.figleaf.com
>>Subject: [Flashcoders] dynamic html text with xpath and cdata
>>
>>
>>For some reason when i load cdata text in using xpath  like this
>>thexml.selectNodes("//node/subnode/text()") where there is a 
>>br it breaks
>>the line, but leaves the br in the text... anyone know why this is
>>happening? Also my textfield will not align to the right, i 
>>have manually
>>set it to align to the right, and i have made a textformat to 
>>align it to
>>the right to no avail. The text box is manually drawn onto stage.
>>
>>the xml is in this format:
>><node>
>> <subnode var1="blah>![CDATA[some text <br> some more 
>>text]]></subnode>
>></node>
>>
>>the output looks like this:
>>some text <br>
>>some more text
>>
>>Thanks,
>>Ryan.
>>_______________________________________________
>>Flashcoders mailing list
>>Flashcoders@chattyfig.figleaf.com
>>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
NOTICE:
This message is for the designated recipient only and may contain privileged or 
confidential information. If you have received it in error, please notify the 
sender immediately and delete the original. Any other use of this e-mail by you 
is prohibited.
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to