Update the valid elements shown in the suggestion list
Oxygen general issues.
-
- Posts: 1
- Joined: Wed Nov 01, 2023 8:55 am
Update the valid elements shown in the suggestion list
Post by David Ugalde »
Hi,
I need to update which elements are shown as valid in the suggestion list: I don't want to touch or modify the current DTDs or the schema, Is there a way to do this by evaluating a Schematron file or an xml?
Please let me know if you have any doubt or question.
Thanks & Regards,
I need to update which elements are shown as valid in the suggestion list: I don't want to touch or modify the current DTDs or the schema, Is there a way to do this by evaluating a Schematron file or an xml?
suggestionList.png
One of the solutions that I have tried is to include the Schematron file to evaluate from the document type association, but it doesn't change the suggestion list; it includes the error message and shows the element as invalid once the element has been included.
documentTypeAssociation.png
From the Java classes, I'm not sure if I need to modify the SchemaManager or the contentAsistant, and how to do it to get the suggestion list updated.Please let me know if you have any doubt or question.
Thanks & Regards,
You do not have the required permissions to view the files attached to this post.
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Update the valid elements shown in the suggestion list
Hi David,
Schematron is used for validation, it cannot be used to filter out content completion entries.
In the framework configuration dialog you have a "Filter - Remove content completion items" list in the Author->Content Completion tab which you can use to remove items from the content completion window.
Maybe this small blog post could help:
https://blog.oxygenxml.com/topics/custo ... etion.html
Regards,
Radu
Schematron is used for validation, it cannot be used to filter out content completion entries.
In the framework configuration dialog you have a "Filter - Remove content completion items" list in the Author->Content Completion tab which you can use to remove items from the content completion window.
Maybe this small blog post could help:
https://blog.oxygenxml.com/topics/custo ... etion.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