Auctus Class Library
  • Welcome!
  • Community
  • Reference
    • Namespaces
    • Automation
      • Logger
        • Logger(String, LogType, Int32)
        • Logger(Exception, LogType, Int32)
        • Logger(String, Object, LogType, Int32)
        • Logger(String, Object, Object, LogType, Int32)
        • Logger(String, Object, Object, Object, LogType, Int32)
        • Logger(String, Object[], LogType, Int32)
        • Logger(Boolean, LogType, Int32)
        • Logger(Char, LogType, Int32)
        • Logger(Char[], LogType, Int32)
        • Logger(Char[], Int32, Int32, LogType, Int32)
        • Logger(Double, LogType, Int32)
        • Logger(Decimal, LogType, Int32)
        • Logger(Single, LogType, Int32)
        • Logger(Int32, LogType, Int32)
        • Logger(UInt32, LogType, Int32)
        • Logger(Int64, LogType, Int32)
        • Logger(UInt64, LogType, Int32)
        • Logger(Object, LogType, Int32)
      • SLNet
        • SendDmsFileChange(Engine, String)
        • ChangeCommunicationState(Engine, Int32, Int32, Boolean)
        • GetInfo<T>(Engine, InfoTypeSingle)
        • GetInfo<T>(Engine, InfoTypeArray)
        • AddDocument(Engine, String, String, Byte[])
    • Common
      • Comparators
        • ObjectReferenceEqualityComparer
      • Enums
        • InfoTypeSingle
        • InfoTypeArray
      • Data Types
        • Bool Extensions
          • ToInt()
        • Integer Extensions
          • ToBool()
          • ToEnum<TEnumType>()
        • Object Extensions
          • ToStr(Boolean)
          • ToInt(Boolean)
          • ToDouble(Boolean)
          • ToBool(Boolean)
          • FromOADate(Boolean)
          • ToEnum<TEnumType>(Boolean)
          • ToJson(Boolean)
          • IsNull()
        • StringBuilder Extensions
          • Append(String, Boolean)
          • AppendLine(String, Boolean)
          • LastAppended()
          • LastIndexOf()
        • String Extensions
          • ToEnum<TEnumType>(Boolean)
          • ParseReadableTimeSpan()
        • TimeSpan Extensions
          • ToReadableString(Boolean, Format)
      • SLNet Types
        • DMSMessage Extensions
          • CastDMSMessage<T>(DMSMessage[])
      • Files
        • Documents
          • GetDocumentPaths(String, String[])
          • GetProtocolFolderName(String)
          • GetSafeFilename(String, Char)
        • XmlParser
          • ParseXml(String, String)
          • ParseXml(String)
    • Protocol
      • Logger
        • Logger(String, LogType, Int32)
        • Logger(Exception, LogType, Int32)
        • Logger(String, Object, LogType, Int32)
        • Logger(String, Object, Object, LogType, Int32)
        • Logger(String, Object, Object, Object, LogType, Int32)
        • Logger(String, Object[], LogType, Int32)
        • Logger(Boolean, LogType, Int32)
        • Logger(Char, LogType, Int32)
        • Logger(Char[], LogType, Int32)
        • Logger(Char[], Int32, Int32, LogType, Int32)
        • Logger(Double, LogType, Int32)
        • Logger(Decimal, LogType, Int32)
        • Logger(Single, LogType, Int32)
        • Logger(Int32, LogType, Int32)
        • Logger(UInt32, LogType, Int32)
        • Logger(Int64, LogType, Int32)
        • Logger(UInt64, LogType, Int32)
        • Logger(Object, LogType, Int32)
      • SLNet
        • SendDmsFileChange(Engine, String)
        • ChangeCommunicationState(Engine, Int32, Int32, Boolean)
        • GetInfo<T>(Engine, InfoTypeSingle)
        • GetInfo<T>(Engine, InfoTypeArray)
        • AddDocument(Engine, String, String, Byte[])
Powered by GitBook
On this page
  1. Reference
  2. Common
  3. Files
  4. XmlParser

ParseXml(String)

Parses the target XML file to an XDocument.

Declaration
public static XDocument ParseXml(string path)
Example
XmlParser.ParseXml(@"C:\Skyline DataMiner\Documents\Test\DemoProtocol.xml");
Result
XDocument
PreviousParseXml(String, String)NextProtocol

Last updated 1 year ago