Auto Generation of Element IDs does not work for Nested elem
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 9
- Joined: Thu Mar 05, 2015 11:53 am
- Location: Bengaluru, India
- Contact:
Auto Generation of Element IDs does not work for Nested elem
Post by SunNadimpalli01 »
Hi Folks,
I have a UIControl element nested inside a Paragraph element. When I use the Generate IDs option at the topic level, only the top level Paragraph element gets an ID. The nested UIControl element does get the ID automatically. I need to right click on each of the UIControl elements and use the Generate ID option.
Have you seen this behavior? Is there any thing that I can do to automatically generate IDs for all elements nested or not.
Regards,
Sundar
I have a UIControl element nested inside a Paragraph element. When I use the Generate IDs option at the topic level, only the top level Paragraph element gets an ID. The nested UIControl element does get the ID automatically. I need to right click on each of the UIControl elements and use the Generate ID option.
Have you seen this behavior? Is there any thing that I can do to automatically generate IDs for all elements nested or not.
Regards,
Sundar
_____________________________________________
Sundar Nadimpalli
<http://www.sundarnadimpalli.com/>
Sundar Nadimpalli
<http://www.sundarnadimpalli.com/>
-
- Posts: 9446
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Auto Generation of Element IDs does not work for Nested
Hi Sundar,
In the main DITA menu there is an action called ID Options....
You can configure there the names or class values for elements for which IDs will be auto-generated, either when the elements are created or when you generate IDs on a larger selection in which the elements in the list are present.
Regards,
Radu
In the main DITA menu there is an action called ID Options....
You can configure there the names or class values for elements for which IDs will be auto-generated, either when the elements are created or when you generate IDs on a larger selection in which the elements in the list are present.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 9
- Joined: Thu Mar 05, 2015 11:53 am
- Location: Bengaluru, India
- Contact:
Re: Auto Generation of Element IDs does not work for Nested
Post by SunNadimpalli01 »
Hi Radu,
Thanks for your reply. My usecase is something like this. I have a uicontrol element inside a paragraph element.
When I say Generate IDs from the menu DITA -> Generate IDs.
The uicontrol element does not automatically get an ID. I need to manually Right+Click on the uicontrol element and click Generate IDs.
In the ID Options dialog I have selected the option - Auto generate IDs for elements.
My expectation from the menu DITA -> Generate IDs is that it automatically assigns an ID to all elements in a topic.
Regards,
Sundar
Thanks for your reply. My usecase is something like this. I have a uicontrol element inside a paragraph element.
Code: Select all
<p><uicontrol>Subcase</uicontrol></p>
The uicontrol element does not automatically get an ID. I need to manually Right+Click on the uicontrol element and click Generate IDs.
In the ID Options dialog I have selected the option - Auto generate IDs for elements.
My expectation from the menu DITA -> Generate IDs is that it automatically assigns an ID to all elements in a topic.
Regards,
Sundar
_____________________________________________
Sundar Nadimpalli
<http://www.sundarnadimpalli.com/>
Sundar Nadimpalli
<http://www.sundarnadimpalli.com/>
-
- Posts: 9446
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Auto Generation of Element IDs does not work for Nested
Hi Sundar,
The ID options dialog has a list of elements.
When generating IDs on a selection only for the elements in the list the IDs will be generated.
So you can add uicontrol to that list and repeat the generation.
Regards,
Radu
The ID options dialog has a list of elements.
When generating IDs on a selection only for the elements in the list the IDs will be generated.
So you can add uicontrol to that list and repeat the generation.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 9
- Joined: Thu Mar 05, 2015 11:53 am
- Location: Bengaluru, India
- Contact:
Re: Auto Generation of Element IDs does not work for Nested
Post by SunNadimpalli01 »
Hello Radu,
Thank you very much, I tried what you suggested and now the IDs are automatically generated for all uicontrol elements in my topic when I click the Generate IDs option at the topic level.
Best Regards,
Sundar
Thank you very much, I tried what you suggested and now the IDs are automatically generated for all uicontrol elements in my topic when I click the Generate IDs option at the topic level.
Best Regards,
Sundar
_____________________________________________
Sundar Nadimpalli
<http://www.sundarnadimpalli.com/>
Sundar Nadimpalli
<http://www.sundarnadimpalli.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)
- ↳ 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