我已经从软件(Schema ST4)中导出了一个结构,但是导出文件仅显示了一个线性表,其章节级别显示为列:Output HTML table
我希望具有原始导航树中所示的结构:Original navigation tree
是否有一种方法可以转换我得到的HTML(请参见下文),以使其看起来像原始导航树一样?是否有可以轻松实现的GUI软件?对于XSLT,我确实很陌生,因此就目标而言,这将花费我太多时间。
<html>
<head>
<title>Doc navigation tree</title>
</head>
<link rel="stylesheet" href="pl_export.css" type="text/css"><body>
<div class="comment">Doc navigation tree exported by iSDocViewer v5.10.0.0</div>
<div class="comment">Instrument</div>
<div class="comment">Doc version: 1.0</div>
<div class="comment">Date, Time: 1/7/2019 3:24:39 PM</div>
<table>
<tr>
<th>Navigation L1</th>
<th>Navigation L2</th>
<th>Navigation L3</th>
<th>Navigation L4</th>
<th>Navigation L5</th>
<th>Document title</th><tr>
</tr>
<tr>
<td>Preface, revisions, and safety</td><td>Preface</td><td> </td>
<td> </td>
<td> </td>
<td>Service documentation</td>
</tr>
<tr>
<td>Preface, revisions, and safety</td><td>Preface</td><td> </td>
<td> </td>
<td> </td>
<td>About this documentation</td>
</tr>
<tr>
<td>Preface, revisions, and safety</td><td>Preface</td><td> </td>
<td> </td>
<td> </td>
<td>About this product</td>
</tr>
<tr>
<td>Preface, revisions, and safety</td><td>Preface</td><td> </td>
<td> </td>
<td> </td>
<td>Training</td>
</tr>
<tr>
<td>Preface, revisions, and safety</td><td>Preface</td><td> </td>
<td> </td>
<td> </td>
<td>Trademarks</td>
</tr>
<tr>
<td>Preface, revisions, and safety</td><td>Preface</td><td> </td>
<td> </td>
<td> </td>
<td>Contact</td>
</tr>
<tr>
<td>Preface, revisions, and safety</td><td>Preface</td><td> </td>
<td> </td>
<td> </td>
<td>Feedback</td>
</tr>
<tr>
<td>Preface, revisions, and safety</td><td>Revisions</td><td>Service documentation</td><td> </td>
<td> </td>
<td>Version 1.0</td>
</tr>
<tr>
<td>Preface, revisions, and safety</td><td>Revisions</td><td>Service documentation</td><td>Revision history</td><td> </td>
<td>Version 0.0</td>
</tr>
<tr>
<td>Preface, revisions, and safety</td><td>Safety</td><td> </td>
<td> </td>
<td> </td>
<td>Introduction</td>
</tr>
<tr>
<td>Preface, revisions, and safety</td><td>Safety</td><td> </td>
<td> </td>
<td> </td>
<td>About safety classifications</td>
</tr>
<tr>
<td>Preface, revisions, and safety</td><td>Safety</td><td> </td>
<td> </td>
<td> </td>
<td>About additional information</td>
</tr>
<tr>
<td>Preface, revisions, and safety</td><td>Safety</td><td>List of WARNING messages</td><td> </td>
<td> </td>
<td>About biohazardous material</td>
</tr>
<tr>
<td>Preface, revisions, and safety</td><td>Safety</td><td>List of WARNING messages</td><td> </td>
<td> </td>
<td>About chemical reaction producing toxic gas</td>
</tr>
非常感谢,祝您有愉快的一天!
亲切的问候。