Custom templates: Use Editor→Templates or Document Type Asso
Posted: Thu Nov 18, 2010 5:47 pm
I believe I am a victim of Oxygen’s awesome customizability.
…
In Preferences, there are options to specify a custom templates directory in Editor→Templates. Alternatively, you can also go into Document Type Associations, select a document type, and provide custom templates.
I have been using the Editor→Templates option until now. However, my ideal setup would be the following:
For example, in Document Type Associations→XHTML, I think I understand the settings for Schema and CSS, but I have absolutely no idea what the Classpath is for. I mean, I know it’s a path to a Java file, but I don’t know what the purpose of that Java file is, or if it would continue to function normally if I mess with any content in the other tabs. And under the Transformation tab, there are several transformations that I never use. I would like to hide them, but I don’t want to delete anything or perform any actions that cannot be undone at a future date if I find a need for those transformations later.
Also, do templates specified in Document Type Associations override (or become overriden) by templates in Editor→Templates?
Customization Sage wanted!
…
In Preferences, there are options to specify a custom templates directory in Editor→Templates. Alternatively, you can also go into Document Type Associations, select a document type, and provide custom templates.
I have been using the Editor→Templates option until now. However, my ideal setup would be the following:
- When I select “New Document…” if I have a custom template, I want to see my custom template instead of the default template(s) provided by Oxygen.
- I do not want to perform any modification or destruction of the Oxygen’s frameworks. I want to override them on an “opt-in” basis.
- Motivations: For my most common document types, I want to have a new document pre-populated with more XML namespaces, comments, and perhaps include a tiny bit of XML to help me remember to use Best Practices. (It’s always easier to create a new document and remove any of these items if I don’t want them than it is to create a new document and have to remember to add in all these things.)
For example, in Document Type Associations→XHTML, I think I understand the settings for Schema and CSS, but I have absolutely no idea what the Classpath is for. I mean, I know it’s a path to a Java file, but I don’t know what the purpose of that Java file is, or if it would continue to function normally if I mess with any content in the other tabs. And under the Transformation tab, there are several transformations that I never use. I would like to hide them, but I don’t want to delete anything or perform any actions that cannot be undone at a future date if I find a need for those transformations later.
Also, do templates specified in Document Type Associations override (or become overriden) by templates in Editor→Templates?
Customization Sage wanted!