summaryrefslogtreecommitdiff
path: root/examples/xupdate/insxml.xup
diff options
context:
space:
mode:
authorSehong Na <sehong.na@samsung.com>2014-05-31 13:20:46 +0900
committerSehong Na <sehong.na@samsung.com>2014-05-31 13:20:46 +0900
commit7122fb9745e4622cb4c5d340cf1557e2fda1efe3 (patch)
tree393207d68983c3b587733b83714bef2de2457025 /examples/xupdate/insxml.xup
downloadxmlstarlet-tizen_2.3.tar.gz
xmlstarlet-tizen_2.3.tar.bz2
xmlstarlet-tizen_2.3.zip
Diffstat (limited to 'examples/xupdate/insxml.xup')
-rw-r--r--examples/xupdate/insxml.xup17
1 files changed, 17 insertions, 0 deletions
diff --git a/examples/xupdate/insxml.xup b/examples/xupdate/insxml.xup
new file mode 100644
index 0000000..be0aca5
--- /dev/null
+++ b/examples/xupdate/insxml.xup
@@ -0,0 +1,17 @@
+<xupdate:modifications version="1.0"
+ xmlns:xupdate="http://www.xmldb.org/xupdate">
+
+ <xupdate:append select="/addresses" >
+ <xupdate:element name="address">
+ <xupdate:attribute name="id">2</xupdate:attribute>
+ <name>
+ <first>Susan</first>
+ <last>Long</last>
+ </name>
+ <city>Tucson</city>
+ <state>Arizona</state>
+ <country>United States</country>
+ <phone type="home">430-304-3040</phone>
+ </xupdate:element>
+ </xupdate:append>
+</xupdate:modifications>