1 |
<?xml version="1.0"?> |
2 |
|
3 |
<!-- modified version of http://www.xmldb.org/xupdate/xupdate-wd.html#N238f4 --> |
4 |
|
5 |
<xupdate:modifications version="1.0" xmlns:xupdate="http://www.xmldb.org/xupdate"> |
6 |
|
7 |
<xupdate:insert-after select="/addresses/address" test="./[@id='1']"> |
8 |
|
9 |
<xupdate:element name="address"> |
10 |
<xupdate:attribute name="id">2</xupdate:attribute> |
11 |
<fullname>Lars Martin</fullname> |
12 |
<born day='2' month='12' year='1974'/> |
13 |
<town>Leizig</town> |
14 |
<country>Germany</country> |
15 |
</xupdate:element> |
16 |
|
17 |
</xupdate:insert-after> |
18 |
|
19 |
</xupdate:modifications> |