• StartElement which the parser calls when it reads a start tag.

    startElement,语法分析器读取到开始标记时调用它。

    youdao

  • You are likely to work with StartElement more frequently than any other event, as it is typically used to represent most of the information in an XML document.

    和其他事件相比可能会经常处理StartElement,因为它通常用于表示XML文档的大部分信息。

    youdao

  • Starting with StartElement as the next expected event, the method will concatenate all characters and return the resulting string before an EndElement is encountered.

    从StartElement作为下一个预期事件开始,该方法在遇到EndElement之前将所有字符连接起来并返回结果字符串。

    youdao

  • The difficulty in writing SAX handlers is that the code to process a specific element (say cfg:body) is split over several events (such as startElement() and endElement()).

    编写SAX处理器的困难在于:要将处理一个特定元素(例如cfg:body )的代码拆分成几个事件(例如startElement()和endElement() )。

    youdao

  • That is, a visitor will have a .visit_FOO() and .depart_FOO() method for each type of node, rather than switching on type within large .startElement() and endElement() methods.

    即,访问器会有针对每种类型节点的 .visit_FOO()和 .depart_FOO()方法,而不是在大型的.startElement() 和endElement() 方法中按类型进行切换。

    youdao

  • That is, a visitor will have a .visit_FOO() and .depart_FOO() method for each type of node, rather than switching on type within large .startElement() and endElement() methods.

    即,访问器会有针对每种类型节点的 .visit_FOO()和 .depart_FOO()方法,而不是在大型的.startElement() 和endElement() 方法中按类型进行切换。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定