xmldiff patches XML files by sending just the changes


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements UNIX and Linux RSS News xmldiff patches XML files by sending just the changes
# 1  
Old 06-05-2008
xmldiff patches XML files by sending just the changes

Thu, 05 Jun 2008 08:00:00 GMT
The GNU diff and patch utilities let you compare files to generate a patch that describes the changes between files. You can then apply the patch file on that machine or another. You might think to use diff and patch on XML files, since they are just text files -- and depending on your application, diff and patch might serve your needs well. However, as things such as the sequence in which attributes are ordered in an element tag are not important in an XML file, using specific tools that are aware of the XML standard can make seeing differences and sending XML-aware "patch" files much more attractive.


Source...
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Splitting a single xml file into multiple xml files

Hi, I'm having a xml file with multiple xml header. so i want to split the file into multiple files. Sample.xml consists multiple headers so how can we split these multiple headers into multiple files in unix. eg : <?xml version="1.0" encoding="UTF-8"?> <ml:individual... (3 Replies)
Discussion started by: Narendra921631
3 Replies

2. Shell Programming and Scripting

Splitting xml file into several xml files using perl

Hi Everyone, I'm new here and I was checking this old post: /shell-programming-and-scripting/180669-splitting-file-into-several-smaller-files-using-perl.html (cannot paste link because of lack of points) I need to do something like this but understand very little of perl. I also check... (4 Replies)
Discussion started by: mcosta
4 Replies

3. Shell Programming and Scripting

Extract strings from XML files and create a new XML

Hello everybody, I have a double mission with some XML files, which is pretty challenging for my actual beginner UNIX knowledge. I need to extract some strings from multiple XML files and create a new XML file with the searched strings.. The original XML files contain the source code for... (12 Replies)
Discussion started by: milano.churchil
12 Replies

4. Shell Programming and Scripting

Compare two xml files while ignoring some xml tags

I've got two different files and want to compare them. File 1 : <response ticketId="944" type="getQueryResults"><status>COMPLETE</status><description>Query results fetched successfully</description><recordSet totalCount="1" type="sms_records"><record id="38,557"><columns><column><name>orge... (2 Replies)
Discussion started by: Shaishav Shah
2 Replies

5. AIX

List of Installed patches for AIX from given set of patches

I need to find out list of installed patches from given list of patches. I have tried using instfix -f <File containing list of patches> -i -c But I was not able to understand the output of this command. It was like below. bos.perf.tools: :0.0.0.0:?: bos.rte.libc: :0.0.0.0:?: ... (4 Replies)
Discussion started by: Saurabh Agrawal
4 Replies

6. Shell Programming and Scripting

Sending an email with more than one files

Hi, I would like to send an email with more than one attachement. I am using uuencode. I want to achive by suing uuencode. Also please let me know other ways. -Thambi (7 Replies)
Discussion started by: thambi
7 Replies

7. How do I send email?

sending files as attachments

How do I send a file as an attachment on a Unix system (9 Replies)
Discussion started by: SmartJuniorUnix
9 Replies

8. UNIX for Dummies Questions & Answers

sending files as attachments

How do I send a file as an attachment on a Unix system (9 Replies)
Discussion started by: SmartJuniorUnix
9 Replies
Login or Register to Ask a Question
diff2patches(1) 														   diff2patches(1)

NAME
diff2patches - Extract non-debian/ patches from .diff.gz files SYNTAX
diff2patches filename diff2patches --help|--version DESCRIPTION
Extracts patches from .diff.gz which apply to files outside the "debian/" directory scope. A patch is created for each modified file. Each patch is named according to the path of the modified file, with "/" replaced by "___", and an extension of ".patch". OPTIONS
filename Extract patches from filename which apply outside the "debian/" directory. --help Output help information and exit. --version Output version information and exit. FILES
debian/control Existence of this file is tested before any patch is extracted. debian/ debian/patches/ Patches are extracted to one of these directories. "debian/patches/" is preferred, if it exists. If DEB_PATCHES is present in the environment, it will override this behavior (see "ENVIRONMENT VARIABLES" section below). ENVIRONMENT VARIABLES
DEB_PATCHES When defined and points to an existing directory, patches are extracted in that directory and not under "debian/" nor "debian/patches/". SEE ALSO
combinediff(1) AUTHOR
Raphael Geissert <atomo64@gmail.com> Raphael Geissert <;atomo64@gmail.com> diff2patches(1)