CDATA() public static method

去除代码
public static CDATA ( string xml ) : string
xml string
return string
Ejemplo n.º 1
0
        /// <summary>
        /// 去除<![CDATA[]]>代码
        /// </summary>
        /// <returns></returns>
        public XItem CDATA()
        {
            if (_IsCDATA == false)
            {
                this.Text = XDom.CDATA(this.Text);
            }

            return(this);
        }