Esempio n. 1
0
 /// <summary>
 /// Parses the specified textual representation of a path.
 /// </summary>
 /// <remarks>
 /// <para>
 /// The specified path should start with a slash character ('/').
 /// Elements are separated by a slash, and attributes denoted by a colon (':').
 /// </para>
 /// <example><![CDATA[
 /// "/Root/Parent/Child:someAttribute"
 /// ]]></example>
 /// </remarks>
 /// <param name="path">The textual representation of a path.</param>
 /// <returns>The resulting path object.</returns>
 public static IXmlPathLoose Parse(string path)
 {
     return(XmlPathParser.RunLoose(path));
 }
Esempio n. 2
0
 /// <summary>
 /// Parses the specified textual representation of a path.
 /// </summary>
 /// <remarks>
 /// <para>
 /// The specified path should start with a slash character ('/').
 /// Elements are separated by a slash, and attributes denoted by a colon (':').
 /// </para>
 /// <example><![CDATA[
 /// "/Root/Parent/Child:someAttribute"
 /// ]]></example>
 /// </remarks>
 /// <param name="path">The textual representation of a path.</param>
 /// <returns>The resulting path object.</returns>
 public static IXmlPathStrict Parse(string path)
 {
     return(XmlPathParser.RunStrict(path));
 }