메소드 | 설명 | |
---|---|---|
GetActiveElementStartIndex ( string xml, int index ) : int |
Source: Sharpdevelop Locates the index of the start tag < character.
|
|
GetActiveElementStartPath ( string xml, int index ) : |
Source: SharpDevelop Gets path of the xml element start tag that the specified index is currently inside. If the index outside the start tag then an empty path is returned. |
|
GetElementAtCursor ( string xml, int offset ) : string |
Source: https://xsemmel.codeplex.com
|
|
GetParentElementPath ( string xml ) : |
Source: SharpDevelop
|
|
IsClosingElement ( string xml, int offset, string elementName = null ) : bool |
Source: https://xsemmel.codeplex.com Liefert true falls das Element beim offset ein schließendes Element ist, also </x> oder <x/>
|
메소드 | 설명 | |
---|---|---|
GetActiveElementEndIndex ( string xml, int index ) : int |
Source: Sharpdevelop Locates the index of the end tag character.
|
|
GetActiveElementStartPath ( string xml, int index, string elementText ) : |
Source: Sharpdevelop Gets the active element path given the element text.
|
|
GetActiveElementStartText ( string xml, int index ) : string |
Source: SharpDevelop Gets the text of the xml element start tag that the index is currently inside.
|
|
GetElementName ( string xml ) : XmlElementQualifiedName |
Source: Sharpdevelop Gets the element name from the element start tag string.
|
|
GetElementNamespace ( string xml ) : XmlNamespace |
Source: Sharpdevelop Gets the element namespace from the element start tag string.
|
|
GetFullParentElementPath ( string xml ) : |
Source: Sharpdevelop Gets the parent element path based on the index position. This method does not compact the path so it will include all elements including those in another namespace in the path.
|
public static GetActiveElementStartIndex ( string xml, int index ) : int | ||
xml | string | |
index | int | |
리턴 | int |
public static GetActiveElementStartPath ( string xml, int index ) : |
||
xml | string | |
index | int | |
리턴 |
public static GetElementAtCursor ( string xml, int offset ) : string | ||
xml | string | |
offset | int | |
리턴 | string |
public static GetParentElementPath ( string xml ) : |
||
xml | string | |
리턴 |
public static IsClosingElement ( string xml, int offset, string elementName = null ) : bool | ||
xml | string | |
offset | int | |
elementName | string | optional, elementName = GetElementAtCursor(xml, offset) |
리턴 | bool |