Microsoft
Software
Hardware
Network
Question : please help with this xml as2 code
numSubs = _this.db.Item[overid].subs
.links.len
gth;
if i trace this it returns 6.
if i add another <links>blah 1</links> in <subs> - it returns 2.
thank God xml handling was simplified in AS3.
here's the xml
<?xml version="1.0"?>
<menu fontSize="11" slideDuration="0.5">
<Item>
<label>tab 0</label>
<link>index.html</link>
<ShowInNavigation>True</Sh
owInNaviga
tion>
<HasChildren>False</HasChi
ldren>
</Item>
<Item>
<label>tab 1</label>
<link>products.html</link>
<ShowInNavigation>True</Sh
owInNaviga
tion>
<HasChildren>True</HasChil
dren>
<subs>
<links>blah 1</links>
</subs>
</Item>
</menu>
Answer : please help with this xml as2 code
I tried the manual run with your object and used sizeof method with it, and It worked.
I guess the db object which you are getting is having some problem with 1 "subs" node.
Random Solutions
Why does this query not work?
Failed to create back up copy of XML file error while loading and unloading Filezilla
Search for Large Attachments in Exchange 2007 Message Database
OWA 2003
iPhone app: TabBarController and a first View
automatically get file from ftp server using .bat and put onto my computer
What will happen if i get an error in cache block in C#?
SBS 2003 AD, have outlook auto add user when loggin
Remove sorting mark on the columnheader after sorting the column
Adding Loop through certain worksheets to Sub - VBA