How to reference the user defined DTD when creating new task
Posted: Fri Aug 23, 2019 1:41 am
Hi experts,
I have defined one own task type DTD and put it
1. following http://dita4practitioners.github.io/dit ... shell.html to create one folder named "C:\Program Files\Oxygen XML Editor 21\frameworks\dita\DITA-OT3.x\plugins\com.example.doctype.userdefine" for own DTD task type shell.
2. package the DTD task shell as the DITA OT.
3. as I run the "ant -f integrator.xml" failed, so I manually updated the "C:\Program Files\Oxygen XML Editor 21\frameworks\dita\DITA-OT3.x\plugins\org.dita.base\catalog-dita.xml" to add the below lines:
4. according to https://www.oxygenxml.com/doc/versions/ ... gin_method, I created a new folder called template_folders inside the C:\Program Files\Oxygen XML Editor 21\frameworks\dita\DITA-OT3.x\plugins\ directory and move the folder created by step 1 to it.
But when I new one new file, couldn't find my own task file template.
Could you please help me with this and see if there are anything wrong? Or could you please point me that how to reference the user defined DTD when creating new task?
PS: the folder "com.example.doctype.userdefine" has been added in this question. Thanks a lot
I have defined one own task type DTD and put it
1. following http://dita4practitioners.github.io/dit ... shell.html to create one folder named "C:\Program Files\Oxygen XML Editor 21\frameworks\dita\DITA-OT3.x\plugins\com.example.doctype.userdefine" for own DTD task type shell.
2. package the DTD task shell as the DITA OT.
3. as I run the "ant -f integrator.xml" failed, so I manually updated the "C:\Program Files\Oxygen XML Editor 21\frameworks\dita\DITA-OT3.x\plugins\org.dita.base\catalog-dita.xml" to add the below lines:
Code: Select all
<nextCatalog catalog="../com.example.doctype.userdefine/catalog.xml"/>
But when I new one new file, couldn't find my own task file template.
Could you please help me with this and see if there are anything wrong? Or could you please point me that how to reference the user defined DTD when creating new task?
PS: the folder "com.example.doctype.userdefine" has been added in this question. Thanks a lot