Join GitHub today
Replace OM with nokogiri-happymapper #346
I'd like there to be more investigation and discussion before this gets merged so we can be very deliberate about our decision. I feel like there is still a fair bit of XML out in the community which is being parsed and generated via OM (within Avalon's ecosystem there definitely is). We still get occasional questions from people trying to work through the XML model lesson (https://github.com/samvera/hydra/wiki/Lesson---Build-a-Codex-model-with-XML). It would be great if we could adopt a single approach for reading and writing across samvera repos then update our documentation accordingly so we can provide some guidance.
This PR seems like one approach. I'd like to see how nokogiri-happymapper works for generating xml especially the tricky scenarios in OM like when you need to generate multiple nodes for a value via templates.
For what its worth nom-xml is another option.