XSLTOperation and indenting

Having trouble installing Oxygen? Got a bug to report? Post it all here.
whyme
Posts: 93
Joined: Fri Mar 08, 2013 8:58 am

XSLTOperation and indenting

Post 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.
alex_jitianu
Posts: 1016
Joined: Wed Nov 16, 2005 11:11 am

Re: XSLTOperation and indenting

Post 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
Post Reply