--- In flexcoders@yahoogroups.com, "droponrcll" <[EMAIL PROTECTED]> wrote: > > --- In flexcoders@yahoogroups.com, "Alex Harui" <aharui@> wrote: > > > > How much of that are you assigning to the htmlText property? > > > > That's what I am trying to figure out. I can't find anything in the > XML properties or methods that gives me exactly the stuff between the > beginning and ending tags and nothing else. valueOf() does it if there > are no html tags in there, but so far I haven't found anything useful > for this.
I forgot to mention. If the string contains this: <txt x="10" y="10" w="120" h="300">[!CDATA[[The quick brown fox jumped over the <b>lazy</b> kitten.]]</txt> The XML node contains: <txt x="10" y="10" w="120" h="300"> [!CDATA[ The quick brown fox jumped over the <b>lazy</b> kitten. ]] </txt> What you see on the screen is [!CDATA[ The quick brown fox jumped over the lazy kitten. ]] So it looks like when I use the XML() function on the string, it adds line breaks around the <b> tags, CDATA or not. And of course, I'd rather not see the CDATA tags either. Thanks! -Amy