Hi,Using org.basex.io.serial.Serializer to serialize nodes from a DB, I want to be able to prevent formatting/indentation of specific nodes.
For example:
<body>
<pre><b>test</b></pre>
</body>
When serializing something like that, the output will be:
<body>
<pre>
<b>test</b></pre>
</body>
The desired output would be:
<body>
<pre><b>test</b></pre>
</body>
I.e. the pre elements must not be indented.
I only found this parameter for the serializer
cdata-section-elements
Which I guess would enclose the contents of the pre elements by CDATA:
<body>
<pre><![CDATA[<b>test</b>]]></pre>
</body>
Which would not be the desired output.
Thanks!