Skip to content

Would you provide a more convenient API for parsing XML to a table? #98

@atship

Description

@atship

Now we need to require('xmlhandler.tree') and call xml2lua.parser(handler):parse(xml), now we need to use handler.root to get the table
I found the helper function at #92 (comment), now we can parse xml to a table like this local tb = xml2lua.parse(xml).
would you provide something like this helper function to your API list? It's convenient for users in my opinion.
Thank you in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions