-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
transform.Unmarshal for XML docs needs clarification #1622
Comments
faraixyz
changed the title
transform.Unmarshal for XML needs clarification
transform.Unmarshal for XML docs needs clarification
Jan 4, 2022
Please provide a small example with attributes, tags with a namespace, and multiple tags of the same type. |
With an RSS XML feed like this:
This is dumped
Accessing things will go like this
|
wgroeneveld
added a commit
to wgroeneveld/hugoDocs
that referenced
this issue
Jan 19, 2022
@jmooring led me here via https://discourse.gohugo.io/t/parsing-xml-in-data-with-hugos-new-xml-support-attributes/36654/2 -- I discovered the same shortcomings in the docs. |
jmooring
added a commit
to jmooring/hugo-docs
that referenced
this issue
Oct 15, 2023
Closes gohugoio#53 Closes gohugoio#447 Closes gohugoio#546 Closes gohugoio#1400 Closes gohugoio#1406 Closes gohugoio#1547 Closes gohugoio#1622 Closes gohugoio#1637 Closes gohugoio#1639 Closes gohugoio#1667 Closes gohugoio#1745 Closes gohugoio#2001 Closes gohugoio#2256 Closes gohugoio#2264
jmooring
added a commit
to jmooring/hugo-docs
that referenced
this issue
Oct 16, 2023
Closes gohugoio#53 Closes gohugoio#447 Closes gohugoio#546 Closes gohugoio#1400 Closes gohugoio#1406 Closes gohugoio#1547 Closes gohugoio#1622 Closes gohugoio#1637 Closes gohugoio#1639 Closes gohugoio#1667 Closes gohugoio#1745 Closes gohugoio#2001 Closes gohugoio#2256 Closes gohugoio#2264
jmooring
added a commit
to jmooring/hugo-docs
that referenced
this issue
Oct 19, 2023
Closes gohugoio#53 Closes gohugoio#447 Closes gohugoio#546 Closes gohugoio#1400 Closes gohugoio#1406 Closes gohugoio#1547 Closes gohugoio#1622 Closes gohugoio#1637 Closes gohugoio#1639 Closes gohugoio#1667 Closes gohugoio#1745 Closes gohugoio#2001 Closes gohugoio#2256 Closes gohugoio#2264
jmooring
added a commit
to jmooring/hugo-docs
that referenced
this issue
Oct 19, 2023
Closes gohugoio#53 Closes gohugoio#447 Closes gohugoio#546 Closes gohugoio#1400 Closes gohugoio#1406 Closes gohugoio#1547 Closes gohugoio#1622 Closes gohugoio#1637 Closes gohugoio#1639 Closes gohugoio#1667 Closes gohugoio#1745 Closes gohugoio#2001 Closes gohugoio#2256 Closes gohugoio#2264 Closes gohugoio#2275 Closes gohugoio#2276
jmooring
added a commit
to jmooring/hugo-docs
that referenced
this issue
Oct 20, 2023
Closes gohugoio#53 Closes gohugoio#447 Closes gohugoio#546 Closes gohugoio#1400 Closes gohugoio#1406 Closes gohugoio#1547 Closes gohugoio#1622 Closes gohugoio#1637 Closes gohugoio#1639 Closes gohugoio#1667 Closes gohugoio#1745 Closes gohugoio#2001 Closes gohugoio#2256 Closes gohugoio#2264 Closes gohugoio#2275 Closes gohugoio#2276
jmooring
added a commit
to jmooring/hugo-docs
that referenced
this issue
Oct 24, 2023
Closes gohugoio#53 Closes gohugoio#447 Closes gohugoio#546 Closes gohugoio#1400 Closes gohugoio#1406 Closes gohugoio#1547 Closes gohugoio#1622 Closes gohugoio#1637 Closes gohugoio#1639 Closes gohugoio#1667 Closes gohugoio#1745 Closes gohugoio#2001 Closes gohugoio#2256 Closes gohugoio#2264 Closes gohugoio#2275 Closes gohugoio#2276
jmooring
added a commit
to jmooring/hugo-docs
that referenced
this issue
Oct 27, 2023
Closes gohugoio#53 Closes gohugoio#447 Closes gohugoio#546 Closes gohugoio#1400 Closes gohugoio#1406 Closes gohugoio#1547 Closes gohugoio#1622 Closes gohugoio#1637 Closes gohugoio#1639 Closes gohugoio#1667 Closes gohugoio#1745 Closes gohugoio#2001 Closes gohugoio#2256 Closes gohugoio#2264 Closes gohugoio#2275 Closes gohugoio#2276
jmooring
added a commit
to jmooring/hugo-docs
that referenced
this issue
Oct 30, 2023
Closes gohugoio#53 Closes gohugoio#447 Closes gohugoio#546 Closes gohugoio#1400 Closes gohugoio#1406 Closes gohugoio#1547 Closes gohugoio#1622 Closes gohugoio#1637 Closes gohugoio#1639 Closes gohugoio#1667 Closes gohugoio#1745 Closes gohugoio#2001 Closes gohugoio#2256 Closes gohugoio#2264 Closes gohugoio#2275 Closes gohugoio#2276
jmooring
added a commit
to jmooring/hugo-docs
that referenced
this issue
Nov 1, 2023
Closes gohugoio#53 Closes gohugoio#447 Closes gohugoio#546 Closes gohugoio#1163 Closes gohugoio#1400 Closes gohugoio#1406 Closes gohugoio#1547 Closes gohugoio#1622 Closes gohugoio#1637 Closes gohugoio#1639 Closes gohugoio#1667 Closes gohugoio#1745 Closes gohugoio#2001 Closes gohugoio#2256 Closes gohugoio#2264 Closes gohugoio#2275 Closes gohugoio#2276
jmooring
added a commit
to jmooring/hugo-docs
that referenced
this issue
Nov 2, 2023
Closes gohugoio#53 Closes gohugoio#447 Closes gohugoio#546 Closes gohugoio#1163 Closes gohugoio#1400 Closes gohugoio#1406 Closes gohugoio#1547 Closes gohugoio#1622 Closes gohugoio#1637 Closes gohugoio#1639 Closes gohugoio#1667 Closes gohugoio#1745 Closes gohugoio#2001 Closes gohugoio#2256 Closes gohugoio#2264 Closes gohugoio#2275 Closes gohugoio#2276
jmooring
added a commit
to jmooring/hugo-docs
that referenced
this issue
Nov 2, 2023
Closes gohugoio#53 Closes gohugoio#447 Closes gohugoio#546 Closes gohugoio#1163 Closes gohugoio#1400 Closes gohugoio#1406 Closes gohugoio#1547 Closes gohugoio#1622 Closes gohugoio#1637 Closes gohugoio#1639 Closes gohugoio#1667 Closes gohugoio#1745 Closes gohugoio#2001 Closes gohugoio#2256 Closes gohugoio#2264 Closes gohugoio#2275 Closes gohugoio#2276
jmooring
added a commit
to jmooring/hugo-docs
that referenced
this issue
Nov 2, 2023
Closes gohugoio#53 Closes gohugoio#447 Closes gohugoio#546 Closes gohugoio#1163 Closes gohugoio#1400 Closes gohugoio#1406 Closes gohugoio#1547 Closes gohugoio#1622 Closes gohugoio#1637 Closes gohugoio#1639 Closes gohugoio#1667 Closes gohugoio#1745 Closes gohugoio#2001 Closes gohugoio#2256 Closes gohugoio#2264 Closes gohugoio#2275 Closes gohugoio#2276
jmooring
added a commit
to jmooring/hugo-docs
that referenced
this issue
Nov 2, 2023
Closes gohugoio#53 Closes gohugoio#447 Closes gohugoio#546 Closes gohugoio#1163 Closes gohugoio#1400 Closes gohugoio#1406 Closes gohugoio#1547 Closes gohugoio#1622 Closes gohugoio#1637 Closes gohugoio#1639 Closes gohugoio#1667 Closes gohugoio#1745 Closes gohugoio#2001 Closes gohugoio#2256 Closes gohugoio#2264 Closes gohugoio#2275 Closes gohugoio#2276
jmooring
added a commit
to jmooring/hugo-docs
that referenced
this issue
Nov 2, 2023
Closes gohugoio#53 Closes gohugoio#447 Closes gohugoio#546 Closes gohugoio#1163 Closes gohugoio#1400 Closes gohugoio#1406 Closes gohugoio#1547 Closes gohugoio#1622 Closes gohugoio#1637 Closes gohugoio#1639 Closes gohugoio#1667 Closes gohugoio#1745 Closes gohugoio#2001 Closes gohugoio#2256 Closes gohugoio#2264 Closes gohugoio#2275 Closes gohugoio#2276
jmooring
added a commit
to jmooring/hugo-docs
that referenced
this issue
Nov 2, 2023
Closes gohugoio#53 Closes gohugoio#447 Closes gohugoio#546 Closes gohugoio#1163 Closes gohugoio#1400 Closes gohugoio#1406 Closes gohugoio#1547 Closes gohugoio#1622 Closes gohugoio#1637 Closes gohugoio#1639 Closes gohugoio#1667 Closes gohugoio#1745 Closes gohugoio#2001 Closes gohugoio#2256 Closes gohugoio#2264 Closes gohugoio#2275 Closes gohugoio#2276
jmooring
added a commit
to jmooring/hugo-docs
that referenced
this issue
Nov 3, 2023
Closes gohugoio#53 Closes gohugoio#447 Closes gohugoio#546 Closes gohugoio#1163 Closes gohugoio#1400 Closes gohugoio#1406 Closes gohugoio#1547 Closes gohugoio#1622 Closes gohugoio#1637 Closes gohugoio#1639 Closes gohugoio#1667 Closes gohugoio#1745 Closes gohugoio#2001 Closes gohugoio#2018 Closes gohugoio#2051 Closes gohugoio#2256 Closes gohugoio#2264 Closes gohugoio#2275 Closes gohugoio#2276
jmooring
added a commit
to jmooring/hugo-docs
that referenced
this issue
Nov 3, 2023
Closes gohugoio#53 Closes gohugoio#447 Closes gohugoio#546 Closes gohugoio#1163 Closes gohugoio#1400 Closes gohugoio#1406 Closes gohugoio#1547 Closes gohugoio#1622 Closes gohugoio#1637 Closes gohugoio#1639 Closes gohugoio#1667 Closes gohugoio#1745 Closes gohugoio#2001 Closes gohugoio#2018 Closes gohugoio#2051 Closes gohugoio#2256 Closes gohugoio#2264 Closes gohugoio#2275 Closes gohugoio#2276
jmooring
added a commit
to jmooring/hugo-docs
that referenced
this issue
Nov 3, 2023
Closes gohugoio#53 Closes gohugoio#447 Closes gohugoio#546 Closes gohugoio#1163 Closes gohugoio#1400 Closes gohugoio#1406 Closes gohugoio#1547 Closes gohugoio#1622 Closes gohugoio#1637 Closes gohugoio#1639 Closes gohugoio#1667 Closes gohugoio#1745 Closes gohugoio#2001 Closes gohugoio#2018 Closes gohugoio#2051 Closes gohugoio#2256 Closes gohugoio#2264 Closes gohugoio#2275 Closes gohugoio#2276
jmooring
added a commit
to jmooring/hugo-docs
that referenced
this issue
Nov 3, 2023
Closes gohugoio#53 Closes gohugoio#447 Closes gohugoio#546 Closes gohugoio#1163 Closes gohugoio#1400 Closes gohugoio#1406 Closes gohugoio#1547 Closes gohugoio#1622 Closes gohugoio#1637 Closes gohugoio#1639 Closes gohugoio#1667 Closes gohugoio#1745 Closes gohugoio#2001 Closes gohugoio#2018 Closes gohugoio#2051 Closes gohugoio#2256 Closes gohugoio#2264 Closes gohugoio#2275 Closes gohugoio#2276
jmooring
added a commit
to jmooring/hugo-docs
that referenced
this issue
Nov 4, 2023
Closes gohugoio#53 Closes gohugoio#447 Closes gohugoio#546 Closes gohugoio#1163 Closes gohugoio#1400 Closes gohugoio#1406 Closes gohugoio#1547 Closes gohugoio#1622 Closes gohugoio#1637 Closes gohugoio#1639 Closes gohugoio#1667 Closes gohugoio#1745 Closes gohugoio#2001 Closes gohugoio#2018 Closes gohugoio#2051 Closes gohugoio#2256 Closes gohugoio#2264 Closes gohugoio#2275 Closes gohugoio#2276
jmooring
added a commit
to jmooring/hugo-docs
that referenced
this issue
Nov 4, 2023
Closes gohugoio#53 Closes gohugoio#447 Closes gohugoio#546 Closes gohugoio#1163 Closes gohugoio#1400 Closes gohugoio#1406 Closes gohugoio#1547 Closes gohugoio#1622 Closes gohugoio#1637 Closes gohugoio#1639 Closes gohugoio#1667 Closes gohugoio#1745 Closes gohugoio#2001 Closes gohugoio#2018 Closes gohugoio#2051 Closes gohugoio#2256 Closes gohugoio#2264 Closes gohugoio#2275 Closes gohugoio#2276
jmooring
added a commit
to jmooring/hugo-docs
that referenced
this issue
Nov 5, 2023
Closes gohugoio#53 Closes gohugoio#447 Closes gohugoio#546 Closes gohugoio#1163 Closes gohugoio#1400 Closes gohugoio#1406 Closes gohugoio#1547 Closes gohugoio#1622 Closes gohugoio#1637 Closes gohugoio#1639 Closes gohugoio#1667 Closes gohugoio#1745 Closes gohugoio#2001 Closes gohugoio#2018 Closes gohugoio#2051 Closes gohugoio#2256 Closes gohugoio#2264 Closes gohugoio#2275 Closes gohugoio#2276 Closes gohugoio#2297
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm excited for the XML support but I was wondering how things like attributes, tags with a namespace and multiple tags of the same type are handled as they aren't covered in the docs . From the little work I've done, I've found that
-
. Given that, you need to use theindex
function,The text was updated successfully, but these errors were encountered: