C# 클래스 Jstor.XPathExtensions

파일 보기 프로젝트 열기: bibliopedia/bibliopedia

공개 메소드들

메소드 설명
Evaluate ( this doc, string expression ) : object
GetAbsoluteXPath ( this element ) : string

Get the absolute XPath to a given XElement, including the namespace. (e.g. "/a:people/b:person[6]/c:name[1]/d:last[1]").

IndexPosition ( this element ) : int

Get the index of the given XElement relative to its siblings with identical names. If the given element is the root, -1 is returned.

SelectMultipleResults ( this doc, string expression ) : IEnumerable

메소드 상세

Evaluate() 공개 정적인 메소드

public static Evaluate ( this doc, string expression ) : object
doc this
expression string
리턴 object

GetAbsoluteXPath() 공개 정적인 메소드

Get the absolute XPath to a given XElement, including the namespace. (e.g. "/a:people/b:person[6]/c:name[1]/d:last[1]").
public static GetAbsoluteXPath ( this element ) : string
element this
리턴 string

IndexPosition() 공개 정적인 메소드

Get the index of the given XElement relative to its siblings with identical names. If the given element is the root, -1 is returned.
public static IndexPosition ( this element ) : int
element this /// The element to get the index of. ///
리턴 int

SelectMultipleResults() 공개 정적인 메소드

public static SelectMultipleResults ( this doc, string expression ) : IEnumerable
doc this
expression string
리턴 IEnumerable