Red alert message - how to rid Oxygen of it
Oxygen general issues.
-
- Posts: 22
- Joined: Fri Nov 14, 2008 8:21 am
Red alert message - how to rid Oxygen of it
On working with Oxygen and specialised DITA topic types this is the red alert message that is displayed at the top edge of the tab:
Cheers, Aaron.
What would need to be changed to have the standard author tab view of my contents?Cannot load the associated CSS file(s).
The error was: 'No CSS file specified.'
Please switch to the text mode and use the [XSLT/CSS Stylesheet assoziieren] action
to associate a CSS Stylesheet to your document.
Cheers, Aaron.
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Red alert message - how to rid Oxygen of it
Post by sorin_ristache »
Hello,
The default CSS for editing DITA files in Author mode is used only for XML files that match one of the predefined DITA document types. It seems your specialized DITA topic does not match the predefined DITA topic document type. You can see the match rules of the DITA document type in the Preferences dialog. Go to menu Options -> Preferences -> Document Type Association, edit the DITA type and look in the Rules panel of the Document type dialog. Does any rule match your DITA document? If not you can add a new rule to the table with the rules.
If you want to use a different CSS instead of the built-in CSS for DITA topics you have to create a new document type that specifies a rule for matching your specialized topics and the CSS for editing the topics in Author mode.
Regards,
Sorin
The default CSS for editing DITA files in Author mode is used only for XML files that match one of the predefined DITA document types. It seems your specialized DITA topic does not match the predefined DITA topic document type. You can see the match rules of the DITA document type in the Preferences dialog. Go to menu Options -> Preferences -> Document Type Association, edit the DITA type and look in the Rules panel of the Document type dialog. Does any rule match your DITA document? If not you can add a new rule to the table with the rules.
If you want to use a different CSS instead of the built-in CSS for DITA topics you have to create a new document type that specifies a rule for matching your specialized topics and the CSS for editing the topics in Author mode.
Regards,
Sorin
-
- Posts: 1
- Joined: Wed Jun 08, 2011 5:58 pm
Re: Red alert message - how to rid Oxygen of it
Maybe I am not in the correct demographic or something, but...
What does that all mean ? How do I turn it off ?
Is there a default css I could perhaps use ?
I tried removing all rules in that DITA part, but that got me no further...
please help...
What does that all mean ? How do I turn it off ?
Is there a default css I could perhaps use ?
I tried removing all rules in that DITA part, but that got me no further...
please help...
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Red alert message - how to rid Oxygen of it
Post by sorin_ristache »
Hello,
A default built-in CSS is always used in Author editing mode for rendering an XML file in Author mode if there is no association between the XML file and a CSS stylesheet, either an explicit association by an <?xml-stylesheet type="text/css" href="..."?> processing instruction created by the Associate XSLT/CSS Stylesheet action, or an implicit one by matching a built-in document type like DITA, DocBook, etc. that specifies a CSS stylesheet which will be used for all XML documents of that type. The document type of the current XML file is displayed in the Information view. Just open the Information view from menu Window -> Show View -> Information and look for an entry that starts with DocumentType changed for file:.
The error message says that there is no CSS stylesheet associated with the current edited XML document, that is no explicit or implicit CSS association as defined above.
Do you have a CSS stylesheet for your XML document? If yes just insert an xml-stylesheet processing instruction using the Associate XSLT/CSS Stylesheet action in the XML document before opening it in Author mode.
If it is a DITA topic file it should match automatically the DITA document type and be displayed in Author using the built-in CSS for DITA topics. If you still get that error in Author mode please post a small sample file for reproducing the error.
Regards,
Sorin
A default built-in CSS is always used in Author editing mode for rendering an XML file in Author mode if there is no association between the XML file and a CSS stylesheet, either an explicit association by an <?xml-stylesheet type="text/css" href="..."?> processing instruction created by the Associate XSLT/CSS Stylesheet action, or an implicit one by matching a built-in document type like DITA, DocBook, etc. that specifies a CSS stylesheet which will be used for all XML documents of that type. The document type of the current XML file is displayed in the Information view. Just open the Information view from menu Window -> Show View -> Information and look for an entry that starts with DocumentType changed for file:.
The error message says that there is no CSS stylesheet associated with the current edited XML document, that is no explicit or implicit CSS association as defined above.
Do you have a CSS stylesheet for your XML document? If yes just insert an xml-stylesheet processing instruction using the Associate XSLT/CSS Stylesheet action in the XML document before opening it in Author mode.
If it is a DITA topic file it should match automatically the DITA document type and be displayed in Author using the built-in CSS for DITA topics. If you still get that error in Author mode please post a small sample file for reproducing the error.
Regards,
Sorin
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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