示例输入文件:
<p class="Head1"><a name="para1">Sections 87-89</a></p>
some text
<p class="Head2"><a name="para2">Sections 90-92</a></p>
some text
<p class="ParaFL"><a name="para3">Some Text1</a></p>
<p class="ParaFirstLineInd"><a name="para4">Some Text2</a></p>
例如,从示例输入文件中,如果我将“Sections 87-89 and Sections 90-92”注释为 Head1”。现在我想将注释类型(Head1)与其类类型(class="Head1", class= “head”)。如果注解类型不等于类,那么我想为相应的注解类型设置一个特征“类改变”。同样对于“Some Text1”和“Some Text2”被注解为ParaFL(注解类型) .