Is your feature request related to a problem? Please describe.
I'm using xmlbuilder2 to generate an XML file, which I'd like to import in InDesign. In order to have two XML elements in the same line in InDesign, I need the two XML tags to appear in the same line with a space between them.
Describe the solution you'd like
It'll be nice to have some chainable method to disable or change newline for the current element, so that the call would look something like this:
Describe alternatives you've considered
I'm also considering hooking into the callback writer to detect certain tags and if they appear, I remove that newline. But I haven't really found a way to do so.
Is your feature request related to a problem? Please describe. I'm using
xmlbuilder2
to generate an XML file, which I'd like to import in InDesign. In order to have two XML elements in the same line in InDesign, I need the two XML tags to appear in the same line with a space between them.The XML would look something like this:
Describe the solution you'd like It'll be nice to have some chainable method to disable or change newline for the current element, so that the call would look something like this:
Describe alternatives you've considered I'm also considering hooking into the callback writer to detect certain tags and if they appear, I remove that newline. But I haven't really found a way to do so.