0

This question already has an answer here:

How do I insert XML in my Stack Overflow question?

I have tried the code, HTML and other options, but I was unable to get my XML code snippet included in my question in a readable format.

<?xml version="1.0"?>
<DTS:Executable xmlns:DTS="www.microsoft.com/SqlServer/Dts" >
    <DTS:ConnectionManager>
        <DTS:Property DTS:Name="ObjectName">DB2Source</DTS:Property>
        <DTS:Property DTS:Name="Description"></DTS:Property>
        <DTS:Property DTS:Name="CreationName">OLEDB</DTS:Property>
        <DTS:ObjectData>
            <DTS:ConnectionManager>
                <DTS:Property DTS:Name="Retain">0</DTS:Property>
                    <DTS:Password DTS:Name="Password" Sensitive="1"></DTS:Password>
                    <DTS:Property DTS:Name="ConnectionString">Data Source=develop;>
                </DTS:Property>
            </DTS:ConnectionManager>
        </DTS:ObjectData>
    </DTS:ConnectionManager>

    <DTS:ConnectionManager>
        <DTS:Property DTS:Name="ObjectName">SQLDest</DTS:Property>
        <DTS:Property DTS:Name="Description"></DTS:Property>
        <DTS:Property DTS:Name="CreationName">OLEDB</DTS:Property>
        <DTS:ObjectData>
            <DTS:ConnectionManager>
                <DTS:Property DTS:Name="Retain">0</DTS:Property>
                <DTS:Password DTS:Name="Password" Sensitive="1"></DTS:Password>
                <DTS:Property DTS:Name="ConnectionString">Data Source=devc2400;</DTS:Property>
            </DTS:ConnectionManager>
        </DTS:ObjectData>
    </DTS:ConnectionManager>
</DTS:Executable>

marked as duplicate by Bart, Arjan, Martijn Pieters, psubsee2003, ShaWiz Aug 6 '13 at 22:21

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

migrated from stackoverflow.com Aug 6 '13 at 21:42

This question came from our site for professional and enthusiast programmers.

1

Just like with code blocks, add 4 spaces to the beginning of every line

e.g.

<xml>
    <some>xml</some>
</xml>
  • 2
    Or select the text and hit ctrl+k. But not too hard... Keyboards have feelings too.. – Lix Aug 6 '13 at 21:51