1 |
joko |
1.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-before select="/addresses/address" test="./[@id='2']"> |
8 |
|
|
|
9 |
|
|
<xupdate:text>Hello World!</xupdate:text> |
10 |
|
|
<xupdate:processing-instruction name="cocoon-process">type="xsp"</xupdate:processing-instruction> |
11 |
|
|
<xupdate:comment>This should produce a comment...</xupdate:comment> |
12 |
|
|
|
13 |
|
|
</xupdate:insert-before> |
14 |
|
|
|
15 |
|
|
</xupdate:modifications> |