I'm grabbing data from an XML file and am wanting to only display certain
nodes in a Datagrid based on a particular value of the XML Node.

I've converted the XML over to an ArrayCollection so I can access particular
properties of the XML node, I'm just having problems excluding data from it.

I'm working on a way to change around the XML (dynamically created from a
Database) to see if I can do some array manipulation as a work around, but
it'd be nice if I could just exclude it.


So, for instance, if I had the following XML:


<FAQS>
   <FAQ id="1" isHeader="1" question="About Flex" answer="" />
   <FAQ id="2" isHeader="0" question="What is the Purpose?" answer="To be
awesome" />
   <FAQ id="3" isHeader="0" question="Who should use it?" answer="Everyone!"
/>
   <FAQ id="4" isHeader="1" question="About Chattanooga" answer="" />
   <FAQ id="5" isHeader="1" question="About the Mets" answer="" />
   <FAQ id="6" isHeader="1" question="About Donkeys" answer="" />
   <FAQ id="7" isHeader="1" question="About Penguins" answer="" />
</FAQS>


>From that XML file, I only want to display the nodes that have a "isHeader"
value of 0.

Thanks!
Luke Golden



-------------------------------------------------------------
To unsubscribe from this list, simply email the list with unsubscribe in the 
subject line

For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------

Reply via email to