Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why a new parser can be created the second time in an application to parse another file?

application file parse parser time
0
Posted

Why a new parser can be created the second time in an application to parse another file?

0

You can create new parser only if you have enough memory. After you do the xmlinit() and parse the data you will got all the memory allocated for xml processing and the parsed data. So if you don’t need to use the data later or will use new parser, you need to do xmlclean() or xmlterm() after that which xmlterm will especially return all the memory back to the system.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123