请教,asp如何取得
<description><![CDATA[依稀记得当年品牌机市场还“不入主流”时,国产品牌TCL便已经全身心的投入到其中了,几年时间匆匆而过,当年那个“幼稚”的品牌机市场如今已经有和组装机分庭抗礼的趋势了。]]></description>
我想取得<![CDATA[ 里面的内容
我现在用descriptstr=objRoot.Item(0).getElementsByTagName("description").Item(0).firstChild.nodeValue
或是descriptstr=objRoot.Item(0).getElementsByTagName("description").Item(0).firstChild.Text
可是都不到,生的xml文件总是提示
“该位置上不允许有空白。处理资源 'http://localhost/rss.asp' 时出错。第 1 行,位置: 2300
</descript><pubdate>Wed, 22 Jul 2009 16:00:00 +0000</pubdate></item><item><title>依稀记得当年...”
该如何解决呢
dim desstr:desstr=descript.Item(0).firstChild.nodeValue
Set Re =New RegExp
Re.Global = True
Re.IgnoreCase = false
Re.Pattern = "/^\s*(\/\/)?\s* <!\[CDATA\[((?:\r\n|\n)?.*)*\s*\1\]\]>\s*$/"
desstr=Re.Replace(desstr,"$2")
我甚至采用网上的这种采用正则表达式的方法,可依然没有成功
求助各位,谢谢