SaaS CMS has officially launched! Learn more now.

Class XFormConvert

Used to convert XHTML to an XForm.

Inheritance
System.Object
XFormConvert
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.XForms.Util
Assembly: EPiServer.XForms.dll
Version: 8.11.0
Syntax
public class XFormConvert

Constructors

XFormConvert()

Declaration
public XFormConvert()

Methods

Parse(XmlDocument)

Transform the content of an XmlDocument to a string representation of an XForm.

Declaration
public static string Parse(XmlDocument xhtml)
Parameters
Type Name Description
System.Xml.XmlDocument xhtml

The XmlDocument to parse.

Returns
Type Description
System.String

A string representation of an XForm.

Transform(String)

Transforms html to a SerializableXmlDocument containing an XForm definition.

Declaration
public static SerializableXmlDocument Transform(string html)
Parameters
Type Name Description
System.String html

The html to transform.

Returns
Type Description
SerializableXmlDocument

A SerializableXmlDocument containing an XForm definition.