Reuse a range from a reusable component does not work
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 30
- Joined: Sat May 04, 2019 5:55 pm
Reuse a range from a reusable component does not work
Post by antoterrence »
When I try to reuse a range from a reusable component, it does not work. The range appears as a single step and all cmd elements from the steps within the range is nested under that one single step.
Code: Select all
<step conref="reuse.dita#ReusableComponent_shc_vfl_g3b/a"
conrefend="reuse.dita#ReusableComponent_shc_vfl_g3b/b">
<cmd/>
</step>
-
- Posts: 9451
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Reuse a range from a reusable component does not work
Hi,
Can you also paste in a reply the entire content of the "reuse.dita"?
If the "reuse.dita" was created using Oxygen's "Create reusable component" action, the generated DITA file was intended to store only one reusable component per file. If so you can manually create your own DITA task containing the reusable steps and save it as "reuse.dita".
Regards,
Radu
Can you also paste in a reply the entire content of the "reuse.dita"?
If the "reuse.dita" was created using Oxygen's "Create reusable component" action, the generated DITA file was intended to store only one reusable component per file. If so you can manually create your own DITA task containing the reusable steps and save it as "reuse.dita".
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 30
- Joined: Sat May 04, 2019 5:55 pm
Re: Reuse a range from a reusable component does not work
Post by antoterrence »
My bad. I panicked and asked this question. Sorry about it. I didn't realize when a range of steps is reused, it has the following structure:
Code: Select all
<step conref="" conrefend="">
<cmd/>
<cmd/>
</step>
-
- Posts: 9451
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Reuse a range from a reusable component does not work
Hi,
I'm sorry but I do not understand, a <step> with two <cmd>s inside is invalid. You need multiple <step>s inside a <steps> element, you need to mark the first step with and @id attribute, set an @id also on the last reused step and then insert the conref range.
Regards,
Radu
I'm sorry but I do not understand, a <step> with two <cmd>s inside is invalid. You need multiple <step>s inside a <steps> element, you need to mark the first step with and @id attribute, set an @id also on the last reused step and then insert the conref range.
Regards,
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)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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