Class TemplateXml
- Namespace
- Dynamicweb.Rendering
- Assembly
- Dynamicweb.Core.dll
- Inheritance
-
Template
Xml
- Inherited Members
Methods
HtmlStringToXslt(string)
Parameters
html
string
Returns
LoopToXml(XmlElement, Template)
Parameters
parentElement
XmlElement template
Template
TagsToXml(XmlElement, TagCollection)
Parameters
parentElement
XmlElement tags
TagCollection
TemplateToXslt(string)
Parameters
path
string
XmlXsltTransform(XmlDocument, string)
Parses the XML and XSLT file together.
Parameters
xmlDocument
XmlDocument XML document
xsltPath
stringPath to the XSLT file. Eg '/Files/Filer/MyFile.xslt' or E:\xslt\MyFile.xslt
Returns
XmlXsltTransform(XmlDocument, string, XsltArgumentList?)
Parses the XML and XSLT file together.
public static string XmlXsltTransform(XmlDocument xmlDocument, string xsltPath, XsltArgumentList? xsltArguments)
Parameters
xmlDocument
XmlDocument XML document
xsltPath
stringPath to the XSLT file. Eg '/Files/Filer/MyFile.xslt' or E:\xslt\MyFile.xslt
xsltArguments
XsltArgument List The XsltArgumentList to use in the parsing
Returns
XmlXsltTransform(XmlDocument, XmlReader)
Parses the XML document using the passed xsltReader.
Parameters
xmlDocument
XmlDocument The document to parse with the transformer
xsltReader
XmlReader A xsltreader with the XSLT to transform on the XML document
Returns
XmlXsltTransform(XmlDocument, XslCompiledTransform, TextWriter)
Parses the XML document using the passed transformer. The passed textwriter contains the parsed data after the sub has been called.
public static void XmlXsltTransform(XmlDocument xmlDocument, XslCompiledTransform transformer, TextWriter textWriter)
Parameters
xmlDocument
XmlDocument The document to parse with the transformer
transformer
XslCompiled Transform Compiled XSLT for the transformation
textWriter
TextWriter The textwriter to parse the data to
XmlXsltTransform(XmlDocument, XslCompiledTransform, TextWriter, XsltArgumentList?)
Parses the XML document using the passed transformer. The passed textwriter contains the parsed data after the sub has been called.
public static void XmlXsltTransform(XmlDocument xmlDocument, XslCompiledTransform xslTransformer, TextWriter textWriter, XsltArgumentList? xsltArguments)
Parameters
xmlDocument
XmlDocument The document to parse with the transformer
xslTransformer
XslCompiled Transform Compiled XSLT for the transformation
textWriter
TextWriter The textwriter to parse the data to
xsltArguments
XsltArgument List The XsltArgumentList to use in the parsing