private void NewProcessing(string p, XMLListener l, int index) { if (this.topElement != null) { XMLProcessing xp = new XMLProcessing(p.Substring(2, (p.Length - 2) - (2))); this.topElement.AddContents(xp); if (l != null) { l.AddHeader(index, xp); } } else if (this.rootElement == null) { this.header.Append(p); } }
public virtual void AddHeader(int line, XMLProcessing xp) { }
private void NewProcessing(string p, XMLListener l, int index) { if (this.topElement != null) { XMLProcessing xp = new XMLProcessing(p.Substring(2,(p.Length - 2)-(2))); this.topElement.AddContents(xp); if (l != null) { l.AddHeader(index, xp); } } else if (this.rootElement == null) { this.header.Append(p); } }