Liquid XML Data Binder 2020
Liquid XML Data Binder (C++, Java, VB6) / Reference / C++ / Reference / CSerializationContext / C++ GetAdditionalRootAttributes - CSerializationContext
In This Topic
    C++ GetAdditionalRootAttributes - CSerializationContext
    In This Topic
    CAttributeColPtr GetAdditionalRootAttributes() const;
      Property Description  
        Property Name AdditionalRootAttributes  
        Property Type CAttributeColPtr  
        Accessors Read Only  
        Description Allows additional root elements to be specified.  
        Remarks In the sample a single element was added, allowing the schemaLocation attribute to be added.

    <?xml version="1.0"?>
    <purchaseReport xmlns="http://www.example.com/Report"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.example.com/Report
    http://www.example.com/Report.xsd">