Page 1 of 1

XSLTOperation and indenting

Posted: Tue Feb 23, 2016 5:55 am
by whyme
I have an XML file without mixed content upon which I've applied a stylesheet through the author mode, using Preferences > Document Type Association > Author > Actions > ro.sync.ecss.extensions.commons.operations.XSLTOperation. When I apply the stylesheet, it introduces a space text node between occasional pairs of adjacent sibling elements (i.e., those that have no intervening space). That same stylesheet, when applied in the XSLT pane, preserves the formatting of the original (no inserted space text nodes between such pairs).

I'm not certain if the bug is due to my own error or something in XSLTOperation.

Re: XSLTOperation and indenting

Posted: Tue Feb 23, 2016 11:53 am
by alex_jitianu
Hi,

I've tried to reproduce the issue myself but to no avail. My sample XSLT copied a paragraph content and added some more children in it. I didn't notice any unwanted space. Could you send us the stylesheet, together with a small XML sample file on support@oxygenxml.com so we can debug them? I can assure you that we will use them only to reproduce the issue and we will remove them from our systems afterwards.

Best regards,
Alex