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
Streamthe Xml stream
charset
stringthe 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
stringthe Xml string
Returns
- IDocumentNode
a document node