Tags: manoelcampos/xml2lua
Tags
Fix #79 :: Dom handler (PR #86) * correctly set a ROOT node as the first node of the dom object. set the DECL node as the first child node of ROOT. fix indent in dom:toXml(). * fix detection of an empty ELEMENT node. * XmlParser: fix parsing of a DTD element. dom handler: fix handling a DTD element. * Fix dom.lua docs * Rename people.xml to people1.xml Moves complex tags (DOCTYPE and CDATA) to people2.xml to make people1 a basic XML. * Restructure example5.lua to parse the XML files whose names are defined by an array inside the example, instead of receiving them in the STDIN. This way, the entry to run this example inside the Makefile were removed. Running a specific example inside the Makefile is too specific. If that was for test purposes, they should be inside the test files. --------- Signed-off-by: Manoel Campos <manoelcampos@gmail.com> Co-authored-by: Sudheer Hebbale <sudheer.hr@tekenlight.com> Co-authored-by: Manoel Campos <manoelcampos@gmail.com>
PreviousNext