小编Fas*_*ast的帖子

如何使用 SAX Java 解析器读取注释文本

我只想使用 Java 中的 SAX 解析器读取 XML 文件中对象标记的注释。

\n\n

这是我的文件的摘要:

\n\n
<!-- Object Seed term: day, WikiTitle: day-->\n<object id="15155220" name="solar day, twenty-four hour period, 24-hour interval, mean solar day, twenty-four hours, si day, d\xc3\xada, days, si days, day duration, day, civil day">\n    <!-- class: "calendar day" -->\n    <class id="15157041" name="calendar day, civil day"></class>\n    <!-- class: "unit of time" -->\n    <class id="15154774" name="time units, unit of time, time unit, units of time"></class>\n    <!-- class: "" -->\n    <class id="15113229" name="period of time, time …
Run Code Online (Sandbox Code Playgroud)

java xml parsing sax

4
推荐指数
1
解决办法
2538
查看次数

标签 统计

java ×1

parsing ×1

sax ×1

xml ×1