You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Williamson, Siehnai" <sw...@docucorp.com> on 2000/09/20 01:57:56 UTC

Does SAX keep track of parent-child elements?

Hi guys,

Does the SAX parser (including the progressive parsing version) provide a
kind of stack for parent-child elements (i.e., does it keep track of
parent-child elements) or do I have to programmatically do this myself?

Thanks

Siehnai Williamson
DocuCorp International, Inc.

Re: Does SAX keep track of parent-child elements?

Posted by Dean Roddey <dr...@charmedquark.com>.
Does SAX keep track of parent-child elements?The scanner does, since one is required in order to do well-formedness checking. But it is not exposed to you. So you'll have to do your own.

--------------------------
Dean Roddey
The CIDLib C++ Frameworks
Charmed Quark Software
droddey@charmedquark.com
http://www.charmedquark.com

"It takes two buttocks to make friction"
    - African Proverb


  ----- Original Message ----- 
  From: Williamson, Siehnai 
  To: xerces-c-dev@xml.apache.org 
  Sent: Tuesday, September 19, 2000 4:57 PM
  Subject: Does SAX keep track of parent-child elements?




  Hi guys, 

  Does the SAX parser (including the progressive parsing version) provide a kind of stack for parent-child elements (i.e., does it keep track of parent-child elements) or do I have to programmatically do this myself?

  Thanks 

  Siehnai Williamson 
  DocuCorp International, Inc.