I may not have this problem with the XML structure I am interested in 
parsing, but I imagine one could run into issues if there are nested 
elements being parsed:
<body>
     got some text here
     <author>me</author>
</body>

I am guessing I would have to be clever and maintain multiple accumulators 
for each element when it is started (until I get the endElement).

On Tuesday, March 6, 2012 5:47:03 PM UTC-5, Mark Murphy (a Commons Guy) 
wrote:
>
> On Tue, Mar 6, 2012 at 5:41 PM, RedBullet <> wrote:
> > Got it, so if I turn my characters method into an accumulator and make 
> sure
> > I reset it either in startElement or endElement (as appropriate) I 
> should be
> > good?
>
> AFAIK, yes.
>
> -- 
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> Android Training in NYC: http://marakana.com/training/android/
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to