XSLT operation on root element in Author mode?
Posted: Thu Dec 04, 2014 6:15 pm
Hi,
I've created a XSLT to change an attribute in the root element of a XML file. With a manual transformation all works fine. But I wanted this XSLT fired in Author mode by a XSLT action (ro.sync.ecss.extensions.commons.operations.XSLTOperation). By trying this I got a message from oXygen: "Kann keine Elemente oder Text außerhalb des Rootelements hinzufügen" (in englisch perhaps "Can't add elements or text outside of the root element". There is no way to work around this problem, isn't it?
Thx & kind regards,
Stefan
I've created a XSLT to change an attribute in the root element of a XML file. With a manual transformation all works fine. But I wanted this XSLT fired in Author mode by a XSLT action (ro.sync.ecss.extensions.commons.operations.XSLTOperation). By trying this I got a message from oXygen: "Kann keine Elemente oder Text außerhalb des Rootelements hinzufügen" (in englisch perhaps "Can't add elements or text outside of the root element". There is no way to work around this problem, isn't it?
Thx & kind regards,
Stefan