Skip to content Skip to sidebar Skip to footer

Saxparser: Handle Only Specific Parent Childs

I have xml structure id dataTitle title1 &

Solution 1:

In this case, you can use a stack to push and pop the cData at startElement and endElement events respectively. Add a check in the endElement event so that only the data you require is stored


Post a Comment for "Saxparser: Handle Only Specific Parent Childs"