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

More details about how users with the Oxygen plugin for Eclipse can use this project #17

Open
raducoravu opened this issue Jun 29, 2017 · 0 comments

Comments

@raducoravu
Copy link
Contributor

One of out customers using the Oxygen plugin for Eclipse wanted to use this project but it's description seems to be more oriented towards Oxygen standalone users, for example all the transformation scenarios stored at project ".xpr" level need to be manually created on Eclipse.
As a starter here's what I told our specific client:

This particular "dim" project's documentation is mostly for using it with the Oxygen standalone version but it should also work with the Oxygen Eclipse plugin.
Let's say you start with a clean Eclipse installation + Oxygen XML plugin installed.
Then you download the entire "https://github.com/oxygenxml/dim" project somewhere on your local drive.
After this you can start Eclipse, and in the Preferences->Oxygen plugin->Document Types->Locations page you can add a new framework location pointing to the folder "dim/frameworks".
Then in the Preferences->Oxygen plugin->XML catalogs you should add a reference to the XML catalog located in "info-model/rules/catalog.xml".
After this you can open the DITA Map "info-model/styleguide.ditamap" in the Oxygen DITA Maps Manager view. Each of the topics referenced in it besides containing a description for a particular problem also contains automatic checking rules for that specific problem, rules which can be automatically converted to Schematron.
If you create an XSLT transformation scenario and apply the XSLT stylesheet "gen-rules/dim2sch.xsl" over the "info-model/styleguide.ditamap", it will generate a Schematron file containing all rules described in the topics and which can be used to validate your DITA topics.

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