ZPT-Sharp
v1.0.0
Zope Page Templates for .NET
|
Implementation of IZptDocumentProvider which creates XML documents based on System.Xml.XmlDocument
.
More...
Public Member Functions | |
IZptDocument | CreateDocument (System.Xml.XmlDocument xmlDocument, ISourceInfo sourceInfo) |
Creates a document from an XmlDocument object and information about the source of the document. More... | |
RenderingMode | GetRenderingMode () |
Gets the rendering mode for documents created by this provider. More... | |
IZptDocument | CreateDocument (FileInfo sourceFile, Encoding encoding) |
Creates a document from a source file. More... | |
IZptDocument | CreateDocument (Stream sourceStream, ISourceInfo sourceInfo, Encoding encoding) |
Creates a document from a stream. More... | |
LegacyXmlZptDocumentProvider () | |
Initializes a new instance of the CSF.Zpt.DocumentProviders.LegacyXmlZptDocumentProvider class. More... | |
Implementation of IZptDocumentProvider which creates XML documents based on System.Xml.XmlDocument
.
Generally, you don't want to be using this type if System.Xml.Linq
is available (which it usually is if you're using .NET framework 4.5 or up).
The XML-Linq implementation is superior to this one in several ways and produces more standards-compliant output also.
|
inline |
Initializes a new instance of the CSF.Zpt.DocumentProviders.LegacyXmlZptDocumentProvider class.
|
inline |
Creates a document from an XmlDocument
object and information about the source of the document.
xmlDocument | An XML document. |
sourceInfo | The source info. |
|
inline |
Creates a document from a source file.
sourceFile | Source file. |
encoding | Encoding. |
Implements CSF.Zpt.IZptDocumentProvider.
|
inline |
Creates a document from a stream.
sourceStream | Source stream. |
sourceInfo | Source info. |
encoding | Encoding. |
Implements CSF.Zpt.IZptDocumentProvider.
|
inline |
Gets the rendering mode for documents created by this provider.
Implements CSF.Zpt.IZptDocumentProvider.