Liquid XML Data Binder
LiquidTechnologies.XmlObjects Namespace / LxLinqExtensions Class / ReplaceInnerXml Method / ReplaceInnerXml(XElement,String,XmlNamespaceManager) Method
The target System.Xml.Linq.XElement
The XML data to be parsed and placed into the element.
A System.Xml.XmlNamespaceManager to provide namespace context information for XML string in xmlInnerContent
Example

In This Topic
    ReplaceInnerXml(XElement,String,XmlNamespaceManager) Method
    In This Topic
    Replaces the contents of the System.Xml.Linq.XElement (not the attributes) with the XML data parsed from xmlInnerContent
    Syntax
    'Declaration
     
    
    Public Overloads Shared Sub ReplaceInnerXml( _
       ByVal element As System.Xml.Linq.XElement, _
       ByVal xmlInnerContent As System.String, _
       ByVal xmlNamespaceManager As System.Xml.XmlNamespaceManager _
    ) 
    public static void ReplaceInnerXml( 
       System.Xml.Linq.XElement element,
       System.string xmlInnerContent,
       System.Xml.XmlNamespaceManager xmlNamespaceManager
    )

    Parameters

    element
    The target System.Xml.Linq.XElement
    xmlInnerContent
    The XML data to be parsed and placed into the element.
    xmlNamespaceManager
    A System.Xml.XmlNamespaceManager to provide namespace context information for XML string in xmlInnerContent
    Example
    XElement element = ... 
    element.ReplaceInnerXml("some <b>basic>b> html");
    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows Server 2016, Windows Server 2012, Windows Server 2008. Please ensure you have the latest Service Pack for your operating system installed.

    See Also