Results 1 to 2 of 2
  1. #1
    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 Attached Files

  2. #2
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    7,609

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •