Thanks Steve, That's what I thought, but on taking a closer look, especially the getting to the `following-sibling` part, I didn't find any API that I can make use of out of the box. Hence --
https://github.com/beevik/etree/issues/99 Could you elaborate on how to get to the `following-sibling` part of a given element for etree please? Using http://zvon.org/comp/r/tut-XPath_1.html#Pages~Following-sibling_axis as the example, in either place will do. thx On Thursday, February 11, 2021 at 7:17:40 PM UTC-5 st...@rothskeller.net wrote: > github.com/beevik/etree does much of what you're looking for. > Steve > > On Thursday, February 11, 2021 at 1:10:51 PM UTC-8 sunto...@gmail.com > wrote: > >> Is there any Go library that allow certain following-sibling >> <https://stackoverflow.com/a/47628382/2125837> manipulation? >> >> Specifically, I want to, >> >> - locate an xml node via XPath >> - delete its following-sibling >> >> More or less like this, >> http://zvon.org/comp/r/tut-XPath_1.html#Pages~Following-sibling_axis, >> but to delete the node, instead of just locating it. >> >> thx >> >> >> >> -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/b1048c9f-3502-463c-8555-1d59ae9dfd36n%40googlegroups.com.