1 |
joko |
1.1 |
<?xml version="1.0"?> |
2 |
|
|
|
3 |
|
|
<!-- modified version of http://www.xmldb.org/xupdate/xupdate-wd.html#N6d2633 --> |
4 |
|
|
|
5 |
|
|
<xupdate:modifications version="1.0" xmlns:xupdate="http://www.xmldb.org/xupdate"> |
6 |
|
|
|
7 |
|
|
<!-- <xupdate:update select="/addresses/address" test="./[@id='2']"> --> |
8 |
|
|
<!-- <xupdate:update select="/addresses/address/town" test="."> --> |
9 |
|
|
<!-- <xupdate:update select="/addresses/address" test="/addresses[2]/address[4]/town='Leizig'"> --> |
10 |
|
|
<xupdate:update select="/addresses[2]/address[4]/town"> |
11 |
|
|
<!-- <xupdate:update select="*" test="/addresses[2]/address[6]/town[3]"> --> |
12 |
|
|
New York |
13 |
|
|
</xupdate:update> |
14 |
|
|
|
15 |
|
|
</xupdate:modifications> |