public void WriteElementStart(StringBuilder sb) { startTagState = START_TAG_STATE.OPENED; ApplyStartIndentStrategy(sb, stackDepth); sb.Append("<"); sb.Append(tagName); }
private void CloseStartElement(StringBuilder sb) { if (startTagState == START_TAG_STATE.OPENED) { sb.Append(">"); startTagState = START_TAG_STATE.CLOSED; } }
private void CloseStartElement(StringBuilder sb) { if (startTagState == START_TAG_STATE.OPENED) { sb.Append(">"); startTagState = START_TAG_STATE.CLOSED; } }
public void WriteElementStart(StringBuilder sb) { startTagState = START_TAG_STATE.OPENED; ApplyStartIndentStrategy(sb, stackDepth); sb.Append("<"); sb.Append(tagName); }