There are three ways I know of to handle this. First, change the xml
generation to not put in the empty nodes. Second, preprocess the xml and
remove the empty nodes, and third, create a custom dataDescriptor.
Tracy Spratt,
Lariat Services, development services available
_
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of cvsikh
Sent: Sunday, January 31, 2010 4:32 AM
To: flexcoders@yahoogroups.com
Subject: [SPAM] [flexcoders] filter out empty rows
Hi,
I have a dynamically generated xml which has some empty nodes. These nodes
cause blank rows in a tilelist.
Is there a way to filter out these nodes? For example, if the node 'name' is
null, hide it from the tilelist?
This is my sample xml:
galleries
photo
sourcefile1.jpg/source
name /
descDesc 1/desc
height800/height
width1280/width
/photo
photo
sourcefile2.jpg/source
name /
desc /
height800/height
width1280/width
/photo
/galleries
Thanks!