I have xml file. I need to generate xml tree structure as xml
<DTS:Executables>
<DTS:Executable
DTS:refId="Package\Data Flow Task"
DTS:CreationName="SSIS.Pipeline.3"
DTS:Description="Data Flow Task"
DTS:DTSID="{0D0F87B4-DE1E-4EE0-AD21-B7911324C733}"
DTS:ExecutableType="SSIS.Pipeline.3"
DTS:LocaleID="-1"
DTS:ObjectName="Data Flow Task"
DTS:TaskContact="Performs high-performance data extraction, transformation and loading;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1">
<DTS:Variables />
<DTS:ObjectData>
<pipeline
version="1" />
</DTS:ObjectData>
</DTS:Executable>
</DTS:Executables>
I need to generate xml tree as xml file
I try
<content name="DTS:Executables" contentType="ExecutableDFT">
<property name="DTS:Executable" att_name="DTS:ObjectName" />
<property name="DTS:Executable" att_name="DTS:Description" />
<property name="DTS:Executable" att_name="DTS:DTSID" />
<
<content name="DTS:ObjectData">
<content name="pipeline">
<content name="components">
<content name="" recolect="true">
<property name="component" att_name="name" />
<property name="component" att_name="description" />
<content name="properties">
<property name="property" att_name="SqlCommand" />
<property name="property" att_name="SqlCommandVariable" />
<property name="property" att_name="VariableName" />
</content>
<content name="connections">
<property name="connection" att_name="name" />
<property name="connection" att_name="connectionManagerID" />
</content>
</content>
</content>
</content>
</content>
</content>
<DTS:Executables>
<DTS:Executable
DTS:refId="Package\Data Flow Task"
DTS:CreationName="SSIS.Pipeline.3"
DTS:Description="Data Flow Task"
DTS:DTSID="{0D0F87B4-DE1E-4EE0-AD21-B7911324C733}"
DTS:ExecutableType="SSIS.Pipeline.3"
DTS:LocaleID="-1"
DTS:ObjectName="Data Flow Task"
DTS:TaskContact="Performs high-performance data extraction, transformation and loading;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1">
<DTS:Variables />
<DTS:ObjectData>
<pipeline
version="1" />
</DTS:ObjectData>
</DTS:Executable>
</DTS:Executables>
I need to generate xml tree as xml file
I try
<content name="DTS:Executables" contentType="ExecutableDFT">
<property name="DTS:Executable" att_name="DTS:ObjectName" />
<property name="DTS:Executable" att_name="DTS:Description" />
<property name="DTS:Executable" att_name="DTS:DTSID" />
<
<content name="DTS:ObjectData">
<content name="pipeline">
<content name="components">
<content name="" recolect="true">
<property name="component" att_name="name" />
<property name="component" att_name="description" />
<content name="properties">
<property name="property" att_name="SqlCommand" />
<property name="property" att_name="SqlCommandVariable" />
<property name="property" att_name="VariableName" />
</content>
<content name="connections">
<property name="connection" att_name="name" />
<property name="connection" att_name="connectionManagerID" />
</content>
</content>
</content>
</content>
</content>
</content>