Editing DTD declaration
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 23
- Joined: Wed Jan 16, 2019 5:16 am
Editing DTD declaration
Post by nstensland »
Is it possible to edit the DTD declaration using oXygen API, to insert or remove an ENTITY declaration? I can do this by loading the xml from disk and then replacing the using "access.getEditorAccess().reloadContent(newStringReader, true);" but this is unreliable (causing random unparsed entity errors).
Thanks,
Nat
Thanks,
Nat
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Editing DTD declaration
Hi Nat,
You can use the "getDoctype()" and "setDoctype" API methods from the AuthorDocumentController API:
https://www.oxygenxml.com/InstData/Edit ... oller.html
Regards,
Radu
You can use the "getDoctype()" and "setDoctype" API methods from the AuthorDocumentController API:
https://www.oxygenxml.com/InstData/Edit ... oller.html
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 23
- Joined: Wed Jan 16, 2019 5:16 am
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