/// <summary> /// Get the (unencoded) text of this text node, including any newlines and spaces present in the original. /// </summary> /// <returns>text</returns> public string GetWholeText() { return(Attributes == null ? text : Attributes.GetValue(TEXT_KEY)); }
/// <summary> /// Get the unencoded XML declaration. /// </summary> /// <returns>XML declaration</returns> public string GetWholeDeclaration() { return(Attributes.GetValue(DECL_KEY)); }
/// <summary> /// Get the data contents of this node. Will be unescaped and with original new lines, space etc. /// </summary> /// <returns>data</returns> public string GetWholeData() { return(Attributes.GetValue(DATA_KEY)); }
/// <summary> /// Get the contents of the comment. /// </summary> /// <returns>Content</returns> public string GetData() { return(Attributes.GetValue(COMMENT_KEY)); }