How to add xml tags with custom class
Are you missing a feature? Request its implementation here.
-
- Posts: 5
- Joined: Wed Dec 09, 2020 4:10 pm
How to add xml tags with custom class
Post by pradapselvaraj »
Hi,
We are using currently xopus xml editor in our content management system(Alfresco).
while editing the document via xopus and for e.g applying bold for particular text , then the class "-hi-d/b" is applied automatically with the use of schema and xsl transformation.
<b class="- hi-d/b ">Any representation</b>
Now, we want to update our editor with oxygen web author. We have integrated and added xsd with the help framework and plugin of oxygen web author.
now the issue is, if we have edit the document with oxygen web author, and do the same things as mentioned above, for e.g bold, italic,regular, underline.
How to apply custom class for the tags in oxygen web author?
We are using currently xopus xml editor in our content management system(Alfresco).
while editing the document via xopus and for e.g applying bold for particular text , then the class "-hi-d/b" is applied automatically with the use of schema and xsl transformation.
<b class="- hi-d/b ">Any representation</b>
Now, we want to update our editor with oxygen web author. We have integrated and added xsd with the help framework and plugin of oxygen web author.
now the issue is, if we have edit the document with oxygen web author, and do the same things as mentioned above, for e.g bold, italic,regular, underline.
How to apply custom class for the tags in oxygen web author?
-
- Site Admin
- Posts: 172
- Joined: Tue Mar 20, 2018 5:28 pm
Re: How to add xml tags with custom class
Post by Bogdan Dumitru »
Hi,
For that you have to define an action within your framework that uses the ro.sync.ecss.extensions.commons.operations.SurroundWithFragmentOperation to add the XML element with the particular class you want.
After defining you may want to add it on toolbar or on a menu. See the "Toolbar" sub-tab from the "Author" tab within the "Document type" dialog from Oxygen XML Editor/Author.
Here you can find more details if needed.
For that you have to define an action within your framework that uses the ro.sync.ecss.extensions.commons.operations.SurroundWithFragmentOperation to add the XML element with the particular class you want.
After defining you may want to add it on toolbar or on a menu. See the "Toolbar" sub-tab from the "Author" tab within the "Document type" dialog from Oxygen XML Editor/Author.
Here you can find more details if needed.
Bogdan Dumitru
http://www.oxygenxml.com
http://www.oxygenxml.com
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