Table of Contents

Interface IXmlParser

Namespace
iText.StyledXmlParser
Assembly
itext.styledxmlparser.dll

Interface for the XML parsing operations that accept XML and return a document node.

public interface IXmlParser

Methods

Parse(Stream, string)

Parses XML provided as an InputStream and an encoding.

IDocumentNode Parse(Stream XmlStream, string charset)

Parameters

XmlStream Stream

the Xml stream

charset string

the character set. If null then parser should detect encoding from stream.

Returns

IDocumentNode

a document node

Parse(string)

Parses XML provided as a String.

IDocumentNode Parse(string Xml)

Parameters

Xml string

the Xml string

Returns

IDocumentNode

a document node