JEAZ The bump and grind of daily SysAdmin life


Long XML Attributes Relief

If you deal with XML attributes running off the page..


Visual Studio has a setting to automatically indent XML attributes!
Long strings automatically turn into the nice auto-indented code below

[xml wrap:true][/xml]

Just go to Options and look under Text Editor > XML > Formatting Section Attributes

This option is particularly helpful for SharePoint XML and XSLT code.
Tags in SharePoint often have 50+ attributes!

Comments (0) Trackbacks (0)

No comments yet.

Leave a comment

No trackbacks yet.