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

Reply
 
Thread Tools Display Modes
  #1  
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

hello,

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?

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

Hello,

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.

http://www.scootersoftware.com/downl...oreformats_alt
__________________
Aaron P Scooter Software
Reply With Quote
Reply

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 10:45 AM.


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