You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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"
}
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?