PhoenixmlDb.XDM

XmlDocumentParser

Parses XML content into XDM nodes.

#XmlDocumentParser

Namespace: PhoenixmlDb.Xdm.Parsing

Parses XML content into XDM nodes.

#Constructors

##ctor(PhoenixmlDb.Core.DocumentId,PhoenixmlDb.Core.NodeId,Func<String,PhoenixmlDb.Core.NamespaceId>,Boolean)

Creates a new XML parser.

Parameters:

  • documentId — The document ID for all nodes.

  • startNodeId — The starting node ID.

  • namespaceResolver — Function to resolve namespace URIs to IDs.

  • preserveWhitespace — Whether to preserve whitespace-only text nodes.

#Methods

#Parse(IO.Stream,String)

Parses XML content from a stream.

#Parse(IO.TextReader,String)

Parses XML content from a TextReader.

#Parse(String,String)

Parses XML content from a string.