Announcement

Collapse
No announcement yet.

How to ignore special suffix on XML attributes?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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="workflow-multibranch@2.16"> 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?

  • #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:
    http://www.scootersoftware.com/suppo..._unimportantv3
    Aaron P Scooter Software

    Comment

    Working...
    X