-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathREADME
More file actions
23 lines (19 loc) · 756 Bytes
/
README
File metadata and controls
23 lines (19 loc) · 756 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
XMLPATCH - simple non-interactive xml editor
Xmlpatch utilizes Jari Urpalainen's XML Patch library
(http://xmlpatch.sourceforge.net/) to perform XML document changes. The changes
are specified using XML patch file with following structure:
<changes>
<change file="PATH/TO/FILE">
<add sel="XPATH EXPRESSION">
CONTENT_TO_BE_ADDED
</add>
<replace sel="XPATH EXPRESSION">
NEW_CONTENT
</add>
<remove sel="XPATH EXPRESSION"/>
</change>
</changes>
One change node can contain any number of add, replace and remove nodes and
changes node can contain any number of change nodes.
See xmlpatch --help for more informations or run make doc and then check out
doc/examples.html for examples.