XSLT operation on root element in Author mode?
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 81
- Joined: Mon Mar 05, 2012 5:23 pm
XSLT operation on root element in Author mode?
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
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: XSLT operation on root element in Author mode?
Hi Stefan,
In Oxygen 16.0 we added a fix to the operation which should allow you to replace the root element.
So if you are using Oxygen 16.0 or newer and you still have the problem, please give us more details about the parameters you pass to the operation.
Regards,
Radu
In Oxygen 16.0 we added a fix to the operation which should allow you to replace the root element.
So if you are using Oxygen 16.0 or newer and you still have the problem, please give us more details about the parameters you pass to the operation.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 81
- Joined: Mon Mar 05, 2012 5:23 pm
Re: XSLT operation on root element in Author mode?
Hi Radu,
thank you very much for the hint! We're currently using version 14.2 in this project, perhaps we have to update to version 16.1, if this is solved there.
Kind regards,
Stefan
thank you very much for the hint! We're currently using version 14.2 in this project, perhaps we have to update to version 16.1, if this is solved there.
Kind regards,
Stefan
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: XSLT operation on root element in Author mode?
Hi Stefan,
To make sure you can use a trial license to test the framework in 16.1 and see how this goes.
Regards,
Radu
To make sure you can use a trial license to test the framework in 16.1 and see how this goes.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 280
- Joined: Thu Nov 28, 2013 9:32 am
- Location: Hamburg/Germany
- Contact:
Re: XSLT operation on root element in Author mode?
Hi Stefan,
I had the same problem some time ago:
http://www.oxygenxml.com/forum/topic10476.html
If updating to the newer version is no option (for whatever reasons) implementing your own extension bundle could solve the problem as well...
Regards,
Patrik
I had the same problem some time ago:
http://www.oxygenxml.com/forum/topic10476.html
If updating to the newer version is no option (for whatever reasons) implementing your own extension bundle could solve the problem as well...
Regards,
Patrik
Return to “SDK-API, Frameworks - Document Types”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service