diff options
Diffstat (limited to 'examples/xupdate')
-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> |