Skip to content

Consider adding simple Ext element support using simple KV #1

Description

@lobatt

To add support for "Any" Element, consider genrating the struct like below:
type ExtKV struct {
XMLName xml.Name
Value string xml:",chardata"
Content string xml:",innerxml"
}

type TExtType struct {
KVs []*ExtKV xml:",any"
}

Is this a good idea?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions