CRTified/nixml

Drop `rootNodeName` in favor of sanity check

CRTified opened this issue · 1 comments

The concept of having an argument rootNodeName is close to unreadable. It would be better to assert that the attrset under consideration has exactly one key. It might also be an option to move the XML declaration inside that attrset as well.

Thanks to @fionera for pointing that out.

I've started to move everything to a sane attrset definition.