Author Topic: XML Beautify won't put attributes on same line as tag  (Read 3250 times)

magpie

  • Senior Community Member
  • Posts: 100
  • Hero Points: 5
XML Beautify won't put attributes on same line as tag
« on: September 06, 2006, 04:43:43 am »
I seem to remember this was in a previous version...
I want :
            <Tool
            Name="VCCLCompilerTool"
            Optimization="1"
            InlineFunctionExpansion="2"/>
to become :
            <Tool Name="VCCLCompilerTool" Optimization="1" InlineFunctionExpansion="2"/>

I have two XML files that differ mainly in formatting, so I want to reformat them consistently, then diff them to meaningfully see the differences.

Also, when I click help on the XML Bueatify dialog, it says XML Beautifier dialog box not found in the help index.

It seems to me that beautifying XML is an important feature and needs a bit more attention...

Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2791
  • Hero Points: 422
Re: XML Beautify won't put attributes on same line as tag
« Reply #1 on: September 08, 2006, 04:00:03 pm »
Try turning on "Preserve tag body"