Announcement

Collapse
No announcement yet.

Compare two XML-Files

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

  • Compare two XML-Files

    Hello,

    my Problem is to compare two XML-Files and ignore some Tag's (Elements)

    here my Syntax:

    <Item>
    <Type>PnP</Type>
    <Seq>0024-0023</Seq>
    <Time>9:05:45.968</Time>
    <Elapsed>54.240485 s</Elapsed>
    <Duration>1 us</Duration>

    <Request>Query Device Relations</Request>
    <Request Details>Bus Relations</Request Details>
    <DevObjAddr>89D6E6F0h</DevObjAddr>
    <DevObjName>USBPDO-6</DevObjName>
    <DrvObjName>usbhub</DrvObjName>
    <IrpAddr>88FABC20h</IrpAddr>

    <IrpStatus>Success</IrpStatus>

    </Item>

    My Problem is to Ignore the red lines

    So what should i do ?

    kind regads

  • #2
    Hello,

    We have a KB article and video link available here:
    Beyond Compare is a multi-platform utility that combines directory compare and file compare functions in one package. Use it to manage source code, keep directories in sync, compare program output, etc.


    For this example, I would recommend creating delimited grammar items, from each node name:
    <Duraction> to </Duration>
    for example. You can give them all the same grammar element name, such as IgnoredXMLNodes. Then in the Text Compare's Session Settings, you would only need to uncheck IgnoredXMLNodes instead of several different items.
    Aaron P Scooter Software

    Comment

    Working...
    X