create DITA 1.2 general task type
This should cover W3C XML Schema, Relax NG and DTD related problems.
-
- Posts: 3
- Joined: Wed Apr 28, 2010 12:35 am
create DITA 1.2 general task type
It was my understanding that Oxygen 11.2 validates against the DITA 1.2 specification. However, I am trying to create a task topic and finding that Oxygen is apparently validating against either the 1.1 spec or the strict task topic type of 1.2. Did I misunderstand or is there something I need to do to set Oxygen to validate against the general task topic type of 1.2? Thanks.
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: create DITA 1.2 general task type
Hi,
DITA Tasks are validated against the strict task topic type of DITA 1.2.
DITA General Tasks have a special document type public id (-//OASIS//DTD DITA General Task//EN) and Oxygen supports validating/editing them. Oxygen 12 will probably come with a new file template for easily creating a DITA General Task XML file.
For now you can save the XML below to the OXYGEN_INSTALL_DIR/frameworks/dita/templates/topic/ directory with the name General Task.xml and when creating a new file from templates you will also have the new General Task template available.
Regards,
Radu
DITA Tasks are validated against the strict task topic type of DITA 1.2.
DITA General Tasks have a special document type public id (-//OASIS//DTD DITA General Task//EN) and Oxygen supports validating/editing them. Oxygen 12 will probably come with a new file template for easily creating a DITA General Task XML file.
For now you can save the XML below to the OXYGEN_INSTALL_DIR/frameworks/dita/templates/topic/ directory with the name General Task.xml and when creating a new file from templates you will also have the new General Task template available.
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE task PUBLIC "-//OASIS//DTD DITA General Task//EN" "http://docs.oasis-open.org/dita/v1.1/OS/dtd/task.dtd">
<task id="taskId">
<title>Task title</title>
<shortdesc/>
<taskbody>
<context>
<p>Context for the current task</p>
</context>
<steps>
<step>
<cmd>Task step.</cmd>
</step>
</steps>
</taskbody>
</task>
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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