it was as easy as getting the selectedItem as xml (XML(mytree.selectedItem))
then looping through that and just adding nodes that mach my search to an array..
private function parseSelection( searchXML:* ):void
{
for each( var prop:* in searchXML )
{
if( [EMAIL PROTECTED] == "item" )
{
itemNodes.addItem( new SubscriptionsNodeItemVO( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]) );
}
else
{
parseSelection( prop.node );
}
}
}
smith
On 9/24/06, aaron smith <
[EMAIL PROTECTED]> wrote:
it needs to be recursive or global selector though..
the XML can change, nesting many levels or nesting few levels..
is there a global selector for nodes the the type=="item"?
like...
myNodes = XML(tree.selectedItem).(@type == 'item');
but on the whole document, not just the root node??On 9/24/06, EECOLOR < [EMAIL PROTECTED]> wrote:Or something like this:var nodesFound:XMLList = searchXML..node.(@id == [EMAIL PROTECTED]);Greetz Erik
__._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
![]()
SPONSORED LINKS
Software development tool Software development Software development services Home design software Software development company
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
__,_._,___
- [flexcoders] parsing xml recursively help. aaron smith
- [flexcoders] Re: parsing xml recursively help. Tim Hoff
- Re: [flexcoders] Re: parsing xml recursively help. EECOLOR
- Re: [flexcoders] Re: parsing xml recursively help... aaron smith
- Re: [flexcoders] Re: parsing xml recursively ... aaron smith
- [flexcoders] Re: parsing xml recursively... Tim Hoff
- [flexcoders] Re: parsing xml recursively... Tim Hoff
- Re: [flexcoders] Re: parsing xml rec... aaron smith
- Re: [flexcoders] Re: parsing xml... EECOLOR
- Re: [flexcoders] Re: parsing xml... aaron smith
- Re: [flexcoders] Re: parsing xml... EECOLOR
- Re: [flexcoders] Re: parsing xml recursively help. aaron smith
Reply via email to

