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