Ordered list before note in step
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 9
- Joined: Fri Sep 15, 2023 9:56 am
Ordered list before note in step
Hi all,
I would like to know how to avoid the ordered list when it comes to a note in a step before.
Thanks in advance!
I would like to know how to avoid the ordered list when it comes to a note in a step before.
image.png
The number should be regular after the note. But before that I just want to have the note.Thanks in advance!
You do not have the required permissions to view the files attached to this post.
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Ordered list before note in step
Hi,
I assume the question is for a DITA XML task, a DITA note can be inserted inside an <info> element inside a step like:
Regards,
Radu
I assume the question is for a DITA XML task, a DITA note can be inserted inside an <info> element inside a step like:
Code: Select all
<!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd">
<task id="task_ogw_3ff_vyb">
<title />
<shortdesc />
<taskbody>
<context>
<p />
</context>
<steps>
<step>
<cmd>Step 1</cmd>
<info>
<note>Step 1 note</note>
</info>
</step>
<step>
<cmd>Step 2</cmd>
</step>
</steps>
</taskbody>
</task>
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 9
- Joined: Fri Sep 15, 2023 9:56 am
Re: Ordered list before note in step
Hi Radu,
thank you very much for your reply. Indeed, at some places you can work around the problem by adding an <info> element. But at other places it is not possible, like here:
<stepsection></stepsection>
<step>
<note></note>
<cmd/>
</step>
The <note> should appear before the <step>. Is this a dedicated topic in terms of customization with custom dtd?
thank you very much for your reply. Indeed, at some places you can work around the problem by adding an <info> element. But at other places it is not possible, like here:
<stepsection></stepsection>
<step>
<note></note>
<cmd/>
</step>
The <note> should appear before the <step>. Is this a dedicated topic in terms of customization with custom dtd?
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Ordered list before note in step
Hi,
In your last example why not put the note inside the step section?
Indeed the DITA task content model is restrictive, it was intended by the DITA specification to be as such. Maybe in certain cases you can use DITA topics instead of tasks.
We have some content in the user's guide about specializing DITA:
https://www.oxygenxml.com/doc/versions/ ... pport.html
Basically the reference specialization tutorial is this one created by Eliot Kimber:
https://www.oxygenxml.com/doc/versions/ ... pport.html
but I think the examples shown here are only for DITA concepts.
Regards,
Radu
In your last example why not put the note inside the step section?
Code: Select all
<stepsection>
<p>...</p>
<note>...</note>
</stepsection>
<step>
<cmd/>
</step>
We have some content in the user's guide about specializing DITA:
https://www.oxygenxml.com/doc/versions/ ... pport.html
Basically the reference specialization tutorial is this one created by Eliot Kimber:
https://www.oxygenxml.com/doc/versions/ ... pport.html
but I think the examples shown here are only for DITA concepts.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.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