未验证 提交 8a355615 编写于 作者: O openharmony_ci 提交者: Gitee

!2860 Done! 2566 【轻量级 PR】:update zh-cn/application-dev/reference/apis/js-apis-xml.md.

Merge pull request !2860 from wusongqing/TR2566
...@@ -329,6 +329,7 @@ that.parse(options); ...@@ -329,6 +329,7 @@ that.parse(options);
Defines the XML parsing options. Defines the XML parsing options.
| Name| Type| Mandatory| Description| | Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- | | -------- | -------- | -------- | -------- |
| supportDoctype | boolean | No| Whether to ignore **Doctype**. The default value is **false**.| | supportDoctype | boolean | No| Whether to ignore **Doctype**. The default value is **false**.|
...@@ -337,7 +338,6 @@ Defines the XML parsing options. ...@@ -337,7 +338,6 @@ Defines the XML parsing options.
| attributeValueCallbackFunction | (name: string, value: string)=> boolean | No| Callback used to return **attributeValue**.| | attributeValueCallbackFunction | (name: string, value: string)=> boolean | No| Callback used to return **attributeValue**.|
| tokenValueCallbackFunction | (eventType: [EventType](#eventtype), value: [ParseInfo](#parseinfo))=> boolean | No| Callback used to return **tokenValue**.| | tokenValueCallbackFunction | (eventType: [EventType](#eventtype), value: [ParseInfo](#parseinfo))=> boolean | No| Callback used to return **tokenValue**.|
## ParseInfo ## ParseInfo
Provides APIs to manage the parsed XML information. Provides APIs to manage the parsed XML information.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册