开发者

using the & char in xml/xsl file

my xml file has the example tag with

<tag>value&value</tag>

there is an error whe开发者_运维技巧n start the xsl file...

I use also &amp and the header

<?xml version="1.0" encoding="iso-8859-1"?>

but not ok

Thanks!


You need to escape the & to &amp; in XML and XSLT:

<tag>value&amp;value</tag>
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜