Summary
Represents an XML Declaration (for example,
<?xml version="1.0" encoding="UTF-8" standalone="no"?>).
Constructors
|
Represents an XML Declaration (for example, <?xml version="1.0" encoding="UTF-8" standalone="no"?>). |
Instance methods
| void | | Adds an attribute. Throws an exception if an attribute by this name already exists. |
| void | |
Appends the specified node (which could be a Text or a Tag) to the
end of this tag’s children. |
| void | Add(string name, string value) | Adds an attribute. Throws an exception if an attribute by this name already exists. |
| void | | Appends the specified nodes to the end of this tag’s children. |
| void | | Adds the specified attributes to this tag. If an attribute with the same name already exists, an exception occurs. |
| void | | Removes the specified node from this tag’s children. |
| void | | Removes nodes that satisfy the given predicate from this tag’s children. |
| bool | |
Removes an attribute, if present, and returns a value indicating whether an attribute was removed. |
| void | | Adds or replaces an attribute. |
| void | Set(string name, string value) |
| void | | Adds or replaces the specified attributes on this tag. |
| string | | Refer to the documentation for object.ToString. |
Operators
| Node | | Implicit conversion from String to Text. |
Instance properties
| Tag | | Refer to the documentation for Node.AsTag. |
| TagCollection | | Refer to the documentation for Node.AsTags. |
| IEnumerable<Attribute> | | Enumerates the attributes on this tag. |
| IEnumerable<Node> | | Returns this tag’s child nodes, including Text nodes. |
| TagCollection | | Returns this tag’s child tags. (Text nodes are ignored.) |
| IContent | | Refer to the documentation for Node.this[]. |
| string | | Returns the name of this tag. |
| string | | Refer to the documentation for Node.Value. |