Insert line breaks before processing instruction
Posted: Thu Jan 16, 2020 7:43 pm
Hi,
I would like to insert a line break before each processing instruction when using the 'format and indent' option. Is this possible?
For instance my document starts as follows:
And I would like it to be like this after i hit Ctrl+Shift+P:
I suspect this is possible to configure in the preferences under "Editor/ Format / XML", but I can't figure it out. Can somebody help me with this?
Kind regards,
Hugo
I would like to insert a line break before each processing instruction when using the 'format and indent' option. Is this possible?
For instance my document starts as follows:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?><?xml-model href="file:/T:/Schemas/dtbook.sch" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?><?xml-model href="file:/T:/Schemas/dtbook-2005-3.dtd"?>
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="file:/T:/Schemas/dtbook.sch" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<?xml-model href="file:/T:/Schemas/dtbook-2005-3.dtd"?>
Kind regards,
Hugo