Carriage Leaf Returns RRS feed

  • Question

  • I am using vs2010 and have written some xsl files.

    I like to format the document using the Ctrl K+D key command to make it more readable.

    But when I do this some of my attributes end up being translated with carriage leaf return characters.

    example xsl attribute

    <xsl:attribute name="href">
    JavaScript:ReOrder('<xsl:value-of select="$ColumnName"/>','')

    Translates to

    href="&#xD;&#xA; JavaScript:ReOrder('ItemId','')&#xD;&#xA; "

    I don't seem able to stop this using the settings in VS2010 and I am keen to keep the document readable for my colleagues.

    Any solutions will be greatly appreciated.


    • Edited by PHKofiHBSmith Thursday, October 25, 2012 9:24 AM
    • Moved by Mark Liu-lxf Friday, October 26, 2012 6:05 AM (From:Visual Studio Class Designer)
    Thursday, October 25, 2012 9:24 AM


All replies