开发者

Reserved word in XML tag

<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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜