protected override void VisitCDataSection(DomCDataSection section)
        {
            if (section == null)
                throw new ArgumentNullException("section");

            DefaultVisit(section);
        }
        protected override void VisitCDataSection(DomCDataSection section)
        {
            if (section == null)
                throw new ArgumentNullException("section");

            sb.Append("<![CDATA[");
            sb.Append(section.Data);
            sb.Append("]]>");
        }
Exemple #3
0
        protected override void WriteCDataSection(DomCDataSection section)
        {
            if (section == null)
            {
                return;
            }

            WriteCDataSection(section.Data);
        }
 protected override void VisitCDataSection(DomCDataSection node)
 {
     _output.Append("<!CDATA[")
     .Append(node.TextContent)
     .Append("]]>");
 }
Exemple #5
0
 public static void OuterText(TextWriter _sb, DomCDataSection section)
 {
     _sb.Write("<![CDATA[");
     _sb.Write(section.Data);
     _sb.Write("]]>");
 }
 void IDomNodeVisitor.Visit(DomCDataSection section)
 {
     VisitCDataSection(section);
 }
 public virtual DomCDataSection CreateCData(string data)
 {
     var result = new DomCDataSection();
     result.Data = data;
     return result;
 }
Exemple #8
0
 protected override void VisitCDataSection(DomCDataSection section)
 {
     TextUtility.OuterText(_sb, section);
 }