This is the code. it is item description XML from stock quote.

<![CDATA[
                <table border=0 cellspacing=0 cellpadding=1 width="150"><TR><TD
bgcolor="#000000">
<table border=0 cellspacing=0 cellpadding=0 width="100%" class="pq_all">
<TR bgcolor="#DDDDDD"><TD WIDTH=100% ALIGN="CENTER" COLSPAN=2
nowrap><a href="http://finance.yahoo.com/q?d=t&s=IBM";>IBM</a> </TD></TR>
<TR bgcolor="#EEEEEE"><TD WIDTH=100% nowrap>&nbsp;Last </TD>
<TD WIDTH=40% nowrap align=right>123.62</TD>
<TR bgcolor="#DDDDDD"><TD WIDTH=100% nowrap>&nbsp;Change </TD>
<TD WIDTH=40% nowrap align=right><font
color=#FF0000>-1.56</font>&nbsp;</TD></TR>
<TR bgcolor="#EEEEEE"><TD WIDTH=100% nowrap>&nbsp;% Change </TD>
<TD WIDTH=40% nowrap align=right><font
color=#FF0000>-1.25%</font>&nbsp;</TD></TR>
<TR bgcolor="#DDDDDD"><TD WIDTH=100% nowrap>&nbsp;Volume </TD>
<TD WIDTH=40% nowrap align=right>8334760&nbsp;</TD></TR>
<TR bgcolor="#EEEEEE"><TD WIDTH=100% nowrap>&nbsp;Last </TD>
<TD WIDTH=40% nowrap align=right>4:00pm&nbsp;</TD></TR>
<TR WIDTH=100% HEIGHT=1px nowrap><TD COLSPAN=2 HEIGHT=1px
WIDTH=100%></TD></TR>
<!--<TR bgcolor="#DDDDDD"><TD ALIGN=center colspan=3><font
class="pq_tiny">PHPQuote By<br><a
href="http://www.booyahmedia.com/";><font
color="#555555">BooyahMedia.com</font></a></font></TD></TR>-->
</TABLE>
</TD></TR></TABLE>
        <script type="text/javascript"><!--
google_ad_client = "pub-6885229503023534";
google_ad_width = 200;
google_ad_height = 90;
google_ad_format = "200x90_0ads_al";
//2007-03-15: quoterss
google_ad_channel = "5439835924";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js";>
</script>
]]>



--- In flexcoders@yahoogroups.com, "Battershall, Jeff"
<[EMAIL PROTECTED]> wrote:
>
> Craig,
> 
> See the note from Claus if you haven't already - he makes the important
> point that if the data is in XHTML you'll be able to conver the data
> into a format that could drive your datagrid very easily without string
> parsing. Is that the case?
> 
> Jeff
> 
> -----Original Message-----
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Craig
> Sent: Tuesday, May 20, 2008 5:40 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Handling html formatted tables in Flex
> 
> 
> Jeff, Since you put it that way, I shall get to string parsing.  I
> really do appreciate your input. Craig
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "Battershall, Jeff"
> <jeff.battershall@> wrote:
> >
> > "Too difficult"???? Having a feed that has UI embedded in it, is 'less
> 
> > than optimum'.  Ideally the data you'd be receiving would be in a UI 
> > aqgnostic format. That said, I think you'll have to get your string 
> > parsing skills up to snuff. You have, within Flash/Flex, a RegEx 
> > implementation that should help you do that.
> > 
> > It seems a pretty large tangent to move to AIR just to solve this 
> > problem. I'd say its time to roll up your sleeves and learn string 
> > parsing.
> > 
> > Jeff
> > 
> > -----Original Message-----
> > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
> > On Behalf Of Craig
> > Sent: Tuesday, May 20, 2008 3:27 PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Re: Handling html formatted tables in Flex
> > 
> > 
> > My parsed data includes <table> <tr> and <td> commands which can't be 
> > read from datagrid, (I think)... the data is embedded in these tags, 
> > so getting it out would be too difficult.  I found AIR <mx:HTML> 
> > window but have to evaluate distributing app as AIR.  Do you have 
> > comment / other suggestion? CS
> > 
> > 
> > 
> > 
> > --- In flexcoders@yahoogroups.com, "Battershall, Jeff" 
> > <jeff.battershall@> wrote:
> > >
> > > Use your parsed data to create a dataprovider for a DataGrid.
> > > 
> > > Jeff
> > > 
> > > -----Original Message-----
> > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
> > > On Behalf Of Craig
> > > Sent: Tuesday, May 20, 2008 9:51 AM
> > > To: flexcoders@yahoogroups.com
> > > Subject: [flexcoders] Handling html formatted tables in Flex
> > > 
> > > 
> > > An RSS Feed providing quotes for my Flex application is outputting 
> > > an
> > > HTML formatted table.  I am able to parse everything out but can not
> 
> > > display it with TextArea.htmlText as htmlText does not support
> Tables.
> > 
> > > Does anyone know of a way to display Table formatted html code using
> > > Flex?  There is probably an easy way to do it that I am missing. 
> > > Thanks, CS
> > > 
> > > 
> > > 
> > > ------------------------------------
> > > 
> > > --
> > > Flexcoders Mailing List
> > > FAQ: 
> > > http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > > Search Archives: 
> > > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo!
> Groups 
> > > Links
> > >
> > 
> > 
> > 
> > ------------------------------------
> > 
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives: 
> > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups 
> > Links
> >
> 
> 
> 
> ------------------------------------
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
> Links
>


Reply via email to