How to ignore special suffix on XML attributes?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • intersol
    Enthusiast
    • Apr 2006
    • 44

    How to ignore special suffix on XML attributes?

    I have a special XML file format for which I do want to ignore some attribute suffixes. Is about Jenkins config.xml config files which do contain the current plugin version.

    XMl file is full of lines like <foo plugin="[email protected]"> and I don't really care about anything after @ in the attribute names. @2.16 is useless information for comparison purposes

    Does anyone know how can I filter this when comparing files using beyond compare?
  • Aaron
    Team Scooter
    • Oct 2007
    • 16002

    #2
    Hello,

    Do you have @ symbols used elsewhere? You could use the delimited grammar from "@" to ">", then mark that as Unimportant. This assumes @ doesn't appear elsewhere, however.

    We have a KB article and video here:
    https://www.scootersoftware.com/supp..._unimportantv3
    Aaron P Scooter Software

    Comment

    Working...