I met a problem about modification with a node in a unknown-size XML file.
e.g., I have such a XML
<root>
...
<string name="group">golang-nuts</string>
<string name="purpose">go language</string>
...
</root>
Now I want to find the node with name="porpose" and change it to 'golang'.
However I just know how to marshal or unmarshal the xml. How can i find the
node then modify it and save the new data to xml? In case I only use
standard go pkgs.
--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.