Generates JS code from syntatically correct HTML code... following the DOM mapping methods of JS
Fix to recognise open-ended tags e.g<img src="" alt="">
should be treated as<img src="" alt=""></img>
- behaviour now is functions like sibling attribute is child!!Fix to refactor tag names so multiple tags don't end up with the same name when appending
JsGenerator is a proposed solution to generating Javascript code from HTML code following the JavaScript DOM structure.
Language: JAVA Dependencies: jsoup
- Clone
- Import into eclipse 2.1. Add Jsoup (found in dependencies folders to build libraries in eclipse)
- Browse through source codes and find Main file
- Paste HTML code and test... should output some JS for you...