Avatar

Level 4

Hi ,

find the scenario below .

<List1>

<List>

      <List1>

      <List1>

      <List1>

  </List>

<List>

      <List2>

      <List2>

      <List2>

  </List>

--

--

-

-

-

--</list1>

Here the list tag will be grow based on the I/p . Now what i want is how to get the length of <list >tag .

To implement above i used below code

var count = xfa.record.List1.List[0].nodes.length ; (Not working )

But if  var count = xfa.record.List1.nodes.length ; (working )

and also i want to remove some tag inside the <List > tag . How ?

Very Urgent .

Advance thanks .