开发者

Reserved word in XML tag

开发者 https://www.devze.com 2023-02-23 17:40 出处:网络
<node>left</node> <class></class> <et>16,471</et> When I get tag class, I see error开发者_运维技巧 1084, because class is reserved word
<node>left</node>
<class></class>
<et>16,471</et>

When I get tag class, I see error开发者_运维技巧 1084, because class is reserved word

vars["class1"] = result.item[0].class;


vars["class1"] = result.item[0]["class"];

This should work

0

精彩评论

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