Open ratijas opened 7 years ago
@ratijas sorry for replying so late. Yes, there is currently no easy way to modify the nodes. I do want this at some point but I don't know what the right internal representation of the nodes should be in order to support this, but I'm pretty sure it would require some major changes from the current representation, which stores a Vec
seriously, there's no (sane) way to modify the content, once
select::Document
has been created.what should i do if i need to tweak text of some elements before serializing it with
Node::text()
? i'm not quite interested in writing my owntext()
implementation…