diff options
author | Sehong Na <sehong.na@samsung.com> | 2014-05-31 13:20:46 +0900 |
---|---|---|
committer | Sehong Na <sehong.na@samsung.com> | 2014-05-31 13:20:46 +0900 |
commit | 7122fb9745e4622cb4c5d340cf1557e2fda1efe3 (patch) | |
tree | 393207d68983c3b587733b83714bef2de2457025 /examples/xupdate/insxml.xup | |
download | xmlstarlet-tizen_2.3.tar.gz xmlstarlet-tizen_2.3.tar.bz2 xmlstarlet-tizen_2.3.zip |
Initialize Tizen 2.3tizen_2.3_releasesubmit/tizen_2.3/20150202.060653submit/tizen_2.3/20140531.1148112.3a_releasetizen_2.3
Diffstat (limited to 'examples/xupdate/insxml.xup')
-rw-r--r-- | examples/xupdate/insxml.xup | 17 |
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> |