ID attribute not imported from HTML to DocBook 4.5
Posted: Wed Nov 29, 2023 6:47 pm
Hi Everyone,
I am new to Oxygen and would appreciate your help with the following question. I am importing an HTML file into DocBook 4.5 using batch converter. HTML page is a glossary and it has links between entries within the page. In HTML there is an id attribute on each element that can be linked to. The value of the id is referenced in links to that element elsewhere in the page. After conversion, links are still using the same values, but id attribute is no longer present resulting in broken links. Here's an example:
HTML <td class="c4" colspan="1" rowspan="1"><h5 class="c0 c13" id="h.m4zzvgkbjb7l"><span class="c5">Some text</span></h5></td>
is converted to
ML <entry>Some text</entry>
I can manually fix this using <entry id="h.m4zzvgkbjb7l">Some text</entry>, but is there a way to configure conversion to preserve id value in this situation?
Thank you in advance for your help.
I am new to Oxygen and would appreciate your help with the following question. I am importing an HTML file into DocBook 4.5 using batch converter. HTML page is a glossary and it has links between entries within the page. In HTML there is an id attribute on each element that can be linked to. The value of the id is referenced in links to that element elsewhere in the page. After conversion, links are still using the same values, but id attribute is no longer present resulting in broken links. Here's an example:
HTML <td class="c4" colspan="1" rowspan="1"><h5 class="c0 c13" id="h.m4zzvgkbjb7l"><span class="c5">Some text</span></h5></td>
is converted to
ML <entry>Some text</entry>
I can manually fix this using <entry id="h.m4zzvgkbjb7l">Some text</entry>, but is there a way to configure conversion to preserve id value in this situation?
Thank you in advance for your help.