Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Ok, that is a start. We know ActiveState and Win7.

From your original post, your requirements are:

  • Output is to be a 3rd file containing the differences between original XML and corrected XML
  • Your changes may be as small as the spelling of a single word.
What other differences would you want to capture?
  • Will a line by line compare work for you?
  • Do you expect larger changes, such as reordering of lines, replacement of lines/sections of the XML?
  • What do you expect the resultant file to look like? (line_number, orig_line, mod_line, change_txt...
  • I guess that leads to the question, what are you going to do with the output you generate? How will you use it?
I see from some of your previous postings that you do know some Perl.

You really do need to provide more info when you ask questions though.

See How do I post a question effectively?.

It will help others to help you more effectively. Best of luck ...


  • ...the majority is always wrong, and always the last to know about it...
  • ..by my will, and by will alone.. I set my mind in motion

In reply to Re^3: XML Compare and exact differences need to be listed out by wjw
in thread XML Compare and exact differences need to be listed out by srikrishnan

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



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2024-04-23 09:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found