create more than one tasks in a task topic
Post here questions and problems related to editing and publishing DITA content.
create more than one tasks in a task topic
Hi,
Is there any way I can create 2 or 3 tasks in a task topic, like the following:
Task 1
But I see your online help, you can create two tasks in a topic, can you tell me how to achieve this?
https://www.oxygenxml.com/doc/versions/ ... l?hl=image
Is there any way I can create 2 or 3 tasks in a task topic, like the following:
Task 1
- Step 1
Step 2
Step3
- Step1
Step2
Step3
But I see your online help, you can create two tasks in a topic, can you tell me how to achieve this?
https://www.oxygenxml.com/doc/versions/ ... l?hl=image
Re: create more than one tasks in a task topic
Hi Catherine,
In the example you provided from our userguide we used a structure based on sections inside a topic, like in the following example:
If this method does not suit your needs, you could alternatively try one of the following methods:
Bogdan Goreci
In the example you provided from our userguide we used a structure based on sections inside a topic, like in the following example:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
<topic>
<title>Topic</title>
<body>
<p>Some content.</p>
<section>
<title>First procedure</title>
<p>Follow this procedure:<ol>
<li>Step one</li>
<li>Step two</li>
</ol></p>
</section>
<section>
<title>Second procedure</title>
<p>Follow this procedure:<ol>
<li>First step</li>
<li>Second step</li>
<li>Third step</li>
</ol></p>
</section>
</body>
</topic>
- Create task structures inside a task topic, like in the following example:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd">
<task id="maintask">
<title>Main task</title>
<taskbody>
<context>
<p>Some content.</p>
</context>
<steps>
<step>
<cmd>Step one</cmd>
</step>
<step>
<cmd>Step two</cmd>
</step>
</steps>
</taskbody>
<task id="secondtask">
<title>Second task</title>
<taskbody>
<steps>
<step>
<cmd>Step one</cmd>
</step>
<step>
<cmd>Step two</cmd>
</step>
</steps>
</taskbody>
</task>
</task> - Write separate tasks, then aggregate them in the final output by using the DITA chunking mechanism.
Bogdan Goreci
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