Skip to Main Content
As a next generation of Web application, XML is quite easy and readable. However, existing XML processor is not. DOM (Document Object Model) uses too much memory and is quite slow. SAX (Simple API for XML) chooses to access information without structure, so it's uneasy to use. As the next generation of XML processing model, VTD-XML provides a wide range of uses and better choices .But VTD-XML also has shortages, because its processing model is fixed, it does not have enough flexibility and scalability. In this paper, through in-depth research on VTD-XML processing model, we put forward an improved method. The improved method will have better flexibility and scalability by calculating the size of XML documents, token length, nesting depth and dynamically adjust length of processing model.