I don't know if this caution applies in Squeak, but in Java land, the SAX parsers don't guarantee that there is only one call to character for the text between the tags. That is, you can't set aString directly, you have to build up the response in case there are multiple calls to the character method.

On Tue, Apr 19, 2011 at 1:50 PM, Andy Burnett <andy.burnett@knowinnovation.com> wrote:
hernan.morales said

<<
Write a method

YourSAXParser>>characters: aString

to access the contents of the current node in aString. YourSAXParser
should be a subclass of SAXHandler.
>>

Thanks Hernan, I now have a working system.

Cheers
Andy

_______________________________________________
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners