[Expat-discuss] tag-path in expat
Mauro Daniel Ardolino
mauro@altersoft.com.ar
Fri, 20 Sep 2002 17:04:35 -0400 (ART)
Oh! you are right! I'm sleepy I think...
Sorry Fred for posting so ridiculous question.
Thanks!
Mauro
On Fri, 20 Sep 2002, Fred L. Drake, Jr. wrote:
>
> Mauro Daniel Ardolino writes:
> > Hi all!
> > I have a question. I want to know the tag-path of an element while it is
> > parsed.
> ...
> > I want to know if the parser arrived to a/b/c or to a/r/c....
> > How can I do that?
>
> Keep a stack of the open elements in the start-element handler, and
> pop the stack in the end-element handler.
>
>
> -Fred
>
>
--
Ing.Mauro Daniel Ardolino
Departamento de Desarrollo y Servicios
Altersoft
Billinghurst 1599 - Piso 9
C1425DTE - Capital Federal
Tel/Fax: 4821-3376 / 4822-8759
mailto: mauro@altersoft.com.ar
website: http://www.altersoft.com.ar