Skip to content

A way to detect self closing tag #183

@paulish

Description

@paulish

Some systems use self-closing tags to show that tag have null value, some systems use xsi:nil for the same purpose. With xmlbuilder2 we are able to detect that element has xsi:nil attribute but we are not able to detect if tag is self-closing.

First I would like to know is there a way to detect that element is self-closing (I have not found reading the source code and using debugger and documentation but perhaps I skipped something).

And if there is no way then would it be acceptable if I create a merge request for this feature? Or perhaps @oozcitak wants to implement this himself or have contra arguments for this feature?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions