combit List & Label 29 - .NET Help
combit.Reporting.DataProviders Namespace / XmlDataProvider Class / FlattenStructure Property


In This Topic
    FlattenStructure Property (XmlDataProvider)
    In This Topic

    Gets or sets if the structure of the XML should be parsed as flat as possible. Without this setting, a structure like

     <xml>
     <Company>
      <Address>
        Buecklestr. 3-5
      </Address>
     </Company>
    </xml>

    would trigger the creation of a "Company" table and a subordinate "Address" table in the data source. If you set this property to "true", you'll get a "Company" table and a string field "Address" within it.

    Syntax
    'Declaration
     
    
    Public Property FlattenStructure As Boolean
    public bool FlattenStructure {get; set;}
    public:
    property bool FlattenStructure {
       bool get();
       void set (    bool value);
    }
    Requirements

    Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
    .NET: .NET Framework 4.8, .NET 6, .NET 7, .NET 8

    See Also