examples/xupdate/insxml.xup
raw| 1 | <xupdate:modifications version="1.0" |
| 2 | xmlns:xupdate="http://www.xmldb.org/xupdate"> |
| 3 | |
| 4 | <xupdate:append select="/addresses" > |
| 5 | <xupdate:element name="address"> |
| 6 | <xupdate:attribute name="id">2</xupdate:attribute> |
| 7 | <name> |
| 8 | <first>Susan</first> |
| 9 | <last>Long</last> |
| 10 | </name> |
| 11 | <city>Tucson</city> |
| 12 | <state>Arizona</state> |
| 13 | <country>United States</country> |
| 14 | <phone type="home">430-304-3040</phone> |
| 15 | </xupdate:element> |
| 16 | </xupdate:append> |
| 17 | </xupdate:modifications> |