引用XML中的属性值 [英] quoting an attribute value in XML
本文介绍了引用XML中的属性值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
速成一题:我的印象是属性值必须包含在双引号中.我在某处读到单引号是可以接受的.
Quick one: I was under the impression that attribute values have to be contained in double quotes. I read somewhere that single quotes are acceptable. Is this correct?
推荐答案
确定.更多检查.显然单引号是有效的.到那儿,这就是我今天学到的东西.以前从未见过.
OK. More checking. Apparently single quotes are valid. There you go, that''s what I learnt today. Never seen it before.
这篇关于引用XML中的属性值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文