I am really struggling to access nested elements of an XML string and 
suspect it is down to the namespaces.  This string is obtained from a 
larger document and is the "innerXML" of some elements.  A simplified 
version is at...

I could probably do this with multiple structs but want to have this in a 
single struct.

https://play.golang.org/p/Een-guMNP9

I can seem to read things at the root but cannot get them using the ">" 
syntax at all.  What am I doing wrong?  Can I "insert" a namespace element 
to assist it at all?

I have manually removed the namespaces from this example to show what I 
think should happen!?
https://play.golang.org/p/eCzbzgBYMq


-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to