<a href='#' onClick="window.open('page.aspx?id=5,'_blank','width=569,!inpotant width=583,height=auto,top=0,left=0,scrollbars=yes,resizable=0'); return false;"> 
上面是一段HTML超链接,怎么在XML LINK里实现同样的效果??高手请赐教!
下面为XML文档
<?xml version="1.0" encoding="utf-8"?>
<bcaster autoPlayTime="3">
  <item item_url="upimage/111.jpg" link="" />  
</bcaster>

解决方案 »

  1.   

    不清楚什么意思,但是提供一段操作xml的代码:
    public void xmlopreation()
    {
            string url = "";        
            XmlDocument doc = new XmlDocument();
            try
            {
                doc.Load("http://……/?.xml");
            }
            catch
            {
                return;
            }
            foreach (XmlNode countnode in doc.ChildNodes)
            {
                if (countnode.Name == "bcaster ")
                {
                    foreach (XmlNode cdNode in countnode.ChildNodes)
                    {
                        foreach (XmlNode node in cdNode.ChildNodes)
                        {
                            if (node.Name == "item_url")
                            {
                                url = node.InnerText;//得到url
                            }
                        }
                    }
                }
            }
            //自定义操作
    }
    xml文件:
    <?xml version="1.0" encoding="utf-8"?>
    <bcaster autoPlayTime="3">
      <item>
         <item_url>upimage/111.jpg<item_url/> 
      </item>
    </bcaster>