HTML 2 xml
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 1
- Joined: Mon Apr 08, 2019 9:59 am
HTML 2 xml
hi there,
i have a table, which i would like to rebuild to a valid xml. it contains 100+ entries.
i have the current first two entries like this:
<tr class="notSelected" id="organ_359">
<td class="col1"><a class="inactive"></a></td>
<td class="opus">172</td>
<td class="ort">Heiden</td>
<td class="Region">AR</td>
<td class="country">CH</td>
<td class="art"></td>
<td class="man">1</td>
<td class="ped">-</td>
<td class="reg">4</td>
<td class="typ">Truhenorgel</td>
<td class="stilrichtungen"></td>
</tr>
<tr class="notSelected" id="organ_358">
<td class="col1"><a class="inactive"></a></td>
<td class="opus">171</td>
<td class="ort">Herzogenbuchsee</td>
<td class="Region">GR</td>
<td class="country">CH</td>
<td class="art"></td>
<td class="man">1</td>
<td class="ped">-</td>
<td class="reg">3</td>
<td class="typ">Positiv</td>
<td class="stilrichtungen"></td>
</tr>
to rebuild it to a valid xml i have to replace the <td class="col1"> with something like <col1>. but i have also to replace the first </td> to </col1>. and the second </td> to </opus> and so on.
i'm new to xml and i have no clue where to start. i'm able to change a script, but i'm not able to set one up.
thank you very much for any help!
paolo
i have a table, which i would like to rebuild to a valid xml. it contains 100+ entries.
i have the current first two entries like this:
<tr class="notSelected" id="organ_359">
<td class="col1"><a class="inactive"></a></td>
<td class="opus">172</td>
<td class="ort">Heiden</td>
<td class="Region">AR</td>
<td class="country">CH</td>
<td class="art"></td>
<td class="man">1</td>
<td class="ped">-</td>
<td class="reg">4</td>
<td class="typ">Truhenorgel</td>
<td class="stilrichtungen"></td>
</tr>
<tr class="notSelected" id="organ_358">
<td class="col1"><a class="inactive"></a></td>
<td class="opus">171</td>
<td class="ort">Herzogenbuchsee</td>
<td class="Region">GR</td>
<td class="country">CH</td>
<td class="art"></td>
<td class="man">1</td>
<td class="ped">-</td>
<td class="reg">3</td>
<td class="typ">Positiv</td>
<td class="stilrichtungen"></td>
</tr>
to rebuild it to a valid xml i have to replace the <td class="col1"> with something like <col1>. but i have also to replace the first </td> to </col1>. and the second </td> to </opus> and so on.
i'm new to xml and i have no clue where to start. i'm able to change a script, but i'm not able to set one up.
thank you very much for any help!
paolo
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