Re: [xml] Dynamic showing cadidate elements at a half-built tree node



On Wed, 22 Aug 2001, Li Ning wrote:

Hi,

I need to let the parser give me the candidate elements at a particular
tree node while the XML tree is half-built, i.e. the XML tree is not completely
conform to DTD at the time. I found that by the function:
xmlValidGetValidElements(...)
the parser will not give out the correct candidate elements unless the whole
tree being parsed. How can I do?

Ning Li

If you use the SAX interface instead of the DOM interface then you can process
the document one tag at a time.

-- 
Ignacio Vazquez-Abrams  <ignacio openservices net>





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]