Go Back   Scooter Forums > Beyond Compare 3 Discussion > Text Compare (2-way)
Register FAQ Search Today's Posts Mark Forums Read

Thread Tools Display Modes
Old 23-Apr-2012, 05:41 AM
vashisth vashisth is offline
New User
Join Date: Apr 2012
Posts: 1
Default XML compare, sort attribute values before sort


I have two xml files that i have to compare but I want to sort the blocks by the attribute value before sorting.

I have attached an example xml

Any ideas?

Attached Files
File Type: zip ex.zip (216 Bytes, 5 views)
Reply With Quote
Old 23-Apr-2012, 08:21 AM
Aaron Aaron is offline
Team Scooter
Join Date: Oct 2007
Location: Madison, WI
Posts: 7,294


If you download and edit the xslt file included as the configuration for the XML Sorted and Tidied format, you can alter how it sorts and tidies your xml files. Our "Attributes sorted" sorting only sorts multiple attributes within the same node, not sorting the notes by the attribute, so I do not believe the other formats or configurations would be helpful in this scenario.

Aaron P Scooter Software
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

All times are GMT -6. The time now is 05:56 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.