Framework proposals for elements not taken in account
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 98
- Joined: Tue Mar 06, 2018 2:07 pm
- Contact:
Framework proposals for elements not taken in account
Hi,
I try to configuring the proposals for elements.
I follow the steps describes here: https://www.oxygenxml.com/doc/versions/ ... attributes
In my framework folder (stored outside of Oxygen installation folder) I have the following resources/cc_config.xml
I references this folder in classpath tab using ${framework}/resources/.
But nothing appends when I insert prolog element.
It works only if I modify directly C:\Program Files\Oxygen XML Editor 21\frameworks\dita\resources\cc_config.xml
My cc_config.xml file is not taken in account in my framework folder. Do you know why it doesn't work?
I try to configuring the proposals for elements.
I follow the steps describes here: https://www.oxygenxml.com/doc/versions/ ... attributes
In my framework folder (stored outside of Oxygen installation folder) I have the following resources/cc_config.xml
Code: Select all
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.oxygenxml.com/ns/ccfilter/config http://www.oxygenxml.com/ns/ccfilter/config/ccConfigSchemaFilter.xsd"
xmlns="http://www.oxygenxml.com/ns/ccfilter/config">
<elementProposals path="prolog" insertElements="author metadata"/>
</config>
But nothing appends when I insert prolog element.
It works only if I modify directly C:\Program Files\Oxygen XML Editor 21\frameworks\dita\resources\cc_config.xml
My cc_config.xml file is not taken in account in my framework folder. Do you know why it doesn't work?
Nicolas Delobel
AmeXio
nicolas.delobel at amexiogroup.com
AmeXio
nicolas.delobel at amexiogroup.com
-
- Posts: 9438
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Framework proposals for elements not taken in account
Hi Nicolas,
There might be two problems:
1) Is your framework configuration used when editing DITA content in Oxygen? In the Oxygen main menu "Window->Show view" you can show the "Properties" view. Then open a DITA topic in Oxygen and see if the Properties view shows you the "Document Type" that it uses for the opened XML document.
2) If your framework is an extension of the DITA framework, in that "Classpath" tab did you position the ${framework}/resources/ entry to be the first one in the list?
Regards,
Radu
There might be two problems:
1) Is your framework configuration used when editing DITA content in Oxygen? In the Oxygen main menu "Window->Show view" you can show the "Properties" view. Then open a DITA topic in Oxygen and see if the Properties view shows you the "Document Type" that it uses for the opened XML document.
2) If your framework is an extension of the DITA framework, in that "Classpath" tab did you position the ${framework}/resources/ entry to be the first one in the list?
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 98
- Joined: Tue Mar 06, 2018 2:07 pm
- Contact:
Re: Framework proposals for elements not taken in account
Hi Radu,
Effectively my framework is an extension of the DITA framework.
Now if I put ${framework}/resources/ entry in first position in the "Classpath" tab it works. Thanks
I have another question :
When I insert a topic element as a sub-element of topic like above, is it possible to insert a framework topic template file at the place of this sub-element?
If yes, it is possible to choose which template file?
Effectively my framework is an extension of the DITA framework.
Now if I put ${framework}/resources/ entry in first position in the "Classpath" tab it works. Thanks

I have another question :
When I insert a topic element as a sub-element of topic like above, is it possible to insert a framework topic template file at the place of this sub-element?
If yes, it is possible to choose which template file?
Code: Select all
<topic id="topic_jp4_g45_zgb">
<title></title>
<topic id="topic000">
<title></title>
</topic>
</topic>
Nicolas Delobel
AmeXio
nicolas.delobel at amexiogroup.com
AmeXio
nicolas.delobel at amexiogroup.com
-
- Posts: 9438
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Framework proposals for elements not taken in account
Hi Nicolas,
You can replace an entry from the content completion window with a custom Author actions.
Something like this:
post51575.html#p51575p
Regards,
Radu
You can replace an entry from the content completion window with a custom Author actions.
Something like this:
post51575.html#p51575p
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 98
- Joined: Tue Mar 06, 2018 2:07 pm
- Contact:
Re: Framework proposals for elements not taken in account
Thanks a lot Radu.
I will test this solution.
I will test this solution.
Nicolas Delobel
AmeXio
nicolas.delobel at amexiogroup.com
AmeXio
nicolas.delobel at amexiogroup.com
Return to “DITA (Editing and Publishing DITA Content)”
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