pprasadravi
asked on
xmlnode no child nodes
Hi
here is my xml document and want to get the Persons node with out Address node.
i mention the output format.
Can anybody have clue,please help me.
Ex:
<Persons>
<Person>
<FirstName></FirstName>
<LastName></LastName>
<Address>
<Line1></Line1>
<Line2></Line2>
</Address>
</Person>
<Person>
<FirstName></FirstName>
<LastName></LastName>
<Address>
<Line1></Line1>
<Line2></Line2>
</Address>
</Person>
<Person>
<FirstName></FirstName>
<LastName></LastName>
<Address>
<Line1></Line1>
<Line2></Line2>
</Address>
</Person>
</Persons>
OuPut :
<Persons>
<Person>
<FirstName></FirstName>
<LastName></LastName>
</Person>
<Person>
<FirstName></FirstName>
<LastName></LastName>
</Person>
<Person>
<FirstName></FirstName>
<LastName></LastName>
</Person>
</Persons>
here is my xml document and want to get the Persons node with out Address node.
i mention the output format.
Can anybody have clue,please help me.
Ex:
<Persons>
<Person>
<FirstName></FirstName>
<LastName></LastName>
<Address>
<Line1></Line1>
<Line2></Line2>
</Address>
</Person>
<Person>
<FirstName></FirstName>
<LastName></LastName>
<Address>
<Line1></Line1>
<Line2></Line2>
</Address>
</Person>
<Person>
<FirstName></FirstName>
<LastName></LastName>
<Address>
<Line1></Line1>
<Line2></Line2>
</Address>
</Person>
</Persons>
OuPut :
<Persons>
<Person>
<FirstName></FirstName>
<LastName></LastName>
</Person>
<Person>
<FirstName></FirstName>
<LastName></LastName>
</Person>
<Person>
<FirstName></FirstName>
<LastName></LastName>
</Person>
</Persons>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
No
ASKER