命名锚一般用于在一个长篇幅文档中建立“内容小目录”。
Tip: Named anchors are often used to create "table of contents" at the beginning of a large document.
出于这个原因,元素的XSLT模板检查前一个元素,看它是否为命名锚点。
For that reason, the XSLT template for the element checks the previous element to see if it is a named anchor. Here are the templates for the and elements.
要处理这种情况,可以让处理器查看 HTML 文档中命名锚点 之后的元素。
To handle this situation, have the processor look at the element after the named anchor in the HTML document.
应用推荐