XmlElement
Description
- Derived from
-
XmlNodeWithParent abstract
Represents an element in an XML document:
<element attribute="value">...</element> <element attribute="value"/>
Source code formatting in XML elements may be applied by inserting XmlSpace content nodes, preferably by using the following helpers:
Public / Constructors
FromSource
Parses the given XML element and returns an XmlElement object for it.
- ValidatingException
-
If xml in is malformed.
Public / Methods
Find
2 overloads
Returns the attribute that has the given name in.
Returns the attribute that has the given name in.
First
2 overloads
Returns the first child element of the given name opt.
Returns the first child element of the given name in.
FormatBreak
Adds a XmlSpace.LineFeed content node.
Use this method to apply formatting while generating XML.
- See also
FormatIndent
Adds XmlSpace content nodes for indentation.
Use this method to apply formatting while generating XML.
- See also