未验证 提交 98b36164 编写于 作者: 小马奔腾 提交者: Gitee
上级 10992194
...@@ -58,7 +58,9 @@ setAttributes(name: string, value: string): void ...@@ -58,7 +58,9 @@ setAttributes(name: string, value: string): void
let arrayBuffer = new ArrayBuffer(1024); let arrayBuffer = new ArrayBuffer(1024);
let bufView = new DataView(arrayBuffer); let bufView = new DataView(arrayBuffer);
let thatSer = new xml.XmlSerializer(bufView); let thatSer = new xml.XmlSerializer(bufView);
thatSer.startElement("note");
thatSer.setAttributes("importance", "high"); thatSer.setAttributes("importance", "high");
thatSer.endElement();
``` ```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册