开发者

What is the fastest way to add/replace a single attribute in an XML document?

What is the fastest way to add/replace a single attribute in an XML开发者_运维百科 document. Regexps aren't stable for use in XML documents and XSLT isn't fast enough.


string together an XmlReader and XmlWriter and while you loop through the nodes, look for the target node you want to change.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜