Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for a new XML vocabulary #8

Open
raducoravu opened this issue Dec 9, 2019 · 1 comment
Open

Add support for a new XML vocabulary #8

raducoravu opened this issue Dec 9, 2019 · 1 comment

Comments

@raducoravu
Copy link
Contributor

Converted from internal issue: EXM-37912
Document a step by step procedure for adding support for an new XML vocabulary in Oxygen: validation, content completion, new file templates, custom CSS, custom Author actions, custom Schematron rules maybe.

Pasting an older answer I gave at some point:

Oxygen comes bundled with out of the box support for several XML vocabularies. If you look in the Oxygen Preferences->"Document Type Association" page you can see a list of them.
For all other XML vocabularies like Pubmed, support for editing can be added to Oxygen.

For example you can add new file templates:

https://www.oxygenxml.com/doc/versions/18.1/ug-editor/topics/create-your-own-templates.html

If you have access to the schemas used for the Pubmed vocabulary, you can configure Oxygen to use those schemas for validating the Pubmed XML documents.
You can download the schemas locally and if there is a "catalog.xml" catalog file included, you can go to the Oxygen Preferences->"XML / XML Catalog" page and add there a reference to the XML catalog.
Oxygen will also use the schemas information to propose content completion entries when editing the XML documents.
@raducoravu
Copy link
Contributor Author

Somebody who was not able to create a framework because there does not seem to be anything in the user's manual about association rules:

I am trying to build a custom framework with the "Framework Customization Tutorial". I did steps 1 to 6 but at step 7, i get stucked. I don't know understand how to test the framework customization. There is a missing link I think I do not get. I tried to do a new document, but I don't see how to start my new type of document. It does not appear in the Framework templates. 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant