LiquidTechnologies.XmlObjects Namespace / LxWriterSettings Class / OmitXsiType Property

In This Topic
    OmitXsiType Property
    In This Topic
    Prevents the xsi:type attribute from being written out. (Default is false)
    Syntax
    'Declaration
     
    
    Public Property OmitXsiType As System.Boolean
    public System.bool OmitXsiType {get; set;}
    Remarks
    The xsi:type attribute is only output when it is required to make the generated XML valid. However, some older systems can not cope with it an raise errors.
    WARNING: Only set to true if you are having problems with the receiving system failing because the XML data contains xsi:type attributes.
    Setting this to true is likely to cause data to be lost or errors to be generated if the generated XML data is re-read by this library. Default value is false
    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