Generate internal query parse tree in xml for further processing
Sometimes XML output of SQL query tree is a starting point for doing further processing of SQL script. With the help of this demo you can generate XML output of SQL script quickly. You can also modify this demo to create customized XML output to meet your own standards.
This demo also illustrates how to get AST of sql queries using APIs provided by General SQL Parser library.
2. Download this demo:
Java version: Download General SQL Parser Java version from this page, check toXml.java under demos/visitors/ directory.
.NET version: Download General SQL Parser .NET version from this page, check demo under demoCollections\xmloutput\ directory.
3. XML Schema which define the legal building blocks of an XML document generated by this tool