是XML允许多个“=”至于一个像atteribute一样( [英] is XML allow mutiple "=" as for one atteribute like (

查看:79
本文介绍了是XML允许多个“=”至于一个像atteribute一样(的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





请任何人建议我查看xml问题。

我想在xml节点URL中添加属性,其中包含多个查询参数。



如何将其写入xml。



现在我面临以下错误。

'='是一个意外的令牌。预期的标记是';'。第1行,第4592位。



我的xml如下所示。

< mainNode>

< ; urls url1 =http://www.abcd.com?param1=val1&param2=val2&param3=val3&param4=val4/>

< / mainNode>



请停止我。



谢谢你。

Hi,

Please any one suggest me for xml issue.
I want to add property in xml node URL, which contains multiple querysting parameters.

how can i write it into xml.

right now i am facing following error.
'=' is an unexpected token. The expected token is ';'. Line 1, position 4592.

My xml is like as following.
<mainNode>
<urls url1="http://www.abcd.com?param1=val1&param2=val2&param3=val3&param4=val4" />
</mainNode>

Please halp me.

Thank you.

推荐答案

不,没有这样的事情。检查XML语法。同时,您的XML示例格式正确;它有一个属性,只有一个值。

-SA
No, there is no such thing. Check up with XML syntax. At the same time, your XML sample is well-formed; it has one attribute with one value.
—SA


这篇关于是XML允许多个“=”至于一个像atteribute一样(的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆