I've read XML::SemanticCompare POD before using it.
The output I get is like:

/quartz[namespace-uri() = 'http://www.opensymphony.com/quartz/JobSched +ulingData']/job[namespace-uri() = 'http://www.opensymphony.com/quartz +/JobSchedulingData']/job-detail[namespace-uri() = 'http://www.opensym +phony.com/quartz/JobSchedulingData']/name[namespace-uri() = 'http://w +ww.opensymphony.com/quartz/JobSchedulingData']/text()=Distribution Co +ntent /quartz[namespace-uri() = 'http://www.opensymphony.com/quartz/JobSched +ulingData']/job[namespace-uri() = 'http://www.opensymphony.com/quartz +/JobSchedulingData']/job-detail[namespace-uri() = 'http://www.opensym +phony.com/quartz/JobSchedulingData']/description[namespace-uri() = 'h +ttp://www.opensymphony.com/quartz/JobSchedulingData']/text()=Updating + the distribution content with one message /quartz[namespace-uri() = 'http://www.opensymphony.com/quartz/JobSched +ulingData']/job[namespace-uri() = 'http://www.opensymphony.com/quartz +/JobSchedulingData']/job-detail[namespace-uri() = 'http://www.opensym +phony.com/quartz/JobSchedulingData']/job-class[namespace-uri() = 'htt +p://www.opensymphony.com/quartz/JobSchedulingData']/text()=com.cellti +ck.tasks.distributor.CCtDistributionContentJob /quartz[namespace-uri() = 'http://www.opensymphony.com/quartz/JobSched +ulingData']/job[namespace-uri() = 'http://www.opensymphony.com/quartz +/JobSchedulingData']/trigger[namespace-uri() = 'http://www.opensympho +ny.com/quartz/JobSchedulingData']/simple[namespace-uri() = 'http://ww +w.opensymphony.com/quartz/JobSchedulingData']/name[namespace-uri() = +'http://www.opensymphony.com/quartz/JobSchedulingData']/text()=Distri +bution Content Trigger /quartz[namespace-uri() = 'http://www.opensymphony.com/quartz/JobSched +ulingData']/job[namespace-uri() = 'http://www.opensymphony.com/quartz +/JobSchedulingData']/trigger[namespace-uri() = 'http://www.opensympho +ny.com/quartz/JobSchedulingData']/simple[namespace-uri() = 'http://ww +w.opensymphony.com/quartz/JobSchedulingData']/description[namespace-u +ri() = 'http://www.opensymphony.com/quartz/JobSchedulingData']/text() +=Triggers the broadcast task
I thought that may be there is a way to convert it to xml tags, since I need to display a difference in readable format on screen.

Regarding XML::SemanticDiff , I was sure that it's behavior is well known according http://ekawas.blogspot.com/2008_11_23_archive.html
If I append new elements to the end of file, it's working great.
But if some element is removed from begging of xml it displays a mess...

I'd like to know if there is another way to display difference between two xml files...

In reply to Re^2: diff output of XML::SemanticCompare by gdanenb
in thread diff output of XML::SemanticCompare by gdanenb

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.