Prevent deletion of section
Oxygen general issues.
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Prevent deletion of section
Hi Julie,
If for example you mark that XML element with a certain attribute:
you can set the element as read-only from the CSS:
but the element will have read-only contents, you will still be able to delete it from the Outline.
If you want something more probably you can use our Java based API to implement an AuthorDocumentFilter:
https://www.oxygenxml.com/InstData/Edit ... ilter.html
or with a schema aware editing handler:
https://www.oxygenxml.com/doc/versions/ ... ndler.html
Regards,
Radu
If for example you mark that XML element with a certain attribute:
Code: Select all
<p outputclass="read-only">Oil should be changed every 6000 kilometers.</p>
Code: Select all
p[outputclass='read-only'] {
-oxy-editable:false;
}
If you want something more probably you can use our Java based API to implement an AuthorDocumentFilter:
https://www.oxygenxml.com/InstData/Edit ... ilter.html
or with a schema aware editing handler:
https://www.oxygenxml.com/doc/versions/ ... ndler.html
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
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