Skip to content

xml2sql ignores attributes. this can lead to invalid sql #46

@manzikki

Description

@manzikki

Example:
<root> <c> <field attr="a">hello</field> <field attr="b">hello</field> </c> </root>
is converted to:
INSERT INTO c (field,field)
VALUES
("hello", "hello");

Proposed fix attached (xml2sql.py)

fix.txt

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