| <?xml version="1.0" encoding="UTF-8"?> |
| <j:jelly xmlns:j="jelly:core" xmlns:x="jelly:xml"> |
| <x:element URI="${ns}" name="test-node"> |
| <x:attribute URI="http://apache/testNS" name="test:abc" trim="true">testValue</x:attribute> |
| |
| <test-subnode attr="test"> |
| <test-anotherSubNode /> |
| <x:element URI="${ns}" name="test-anotherSubNodeAgain"> |
| <x:attribute URI="${ns}" name="other:abc" trim="true">testValue</x:attribute> |
| </x:element> |
| </test-subnode> |
| |
| <x:replaceNamespace toURI="${ns}"> |
| <test-subnode attr="test"> |
| <test-anotherSubNode /> |
| <x:element URI="${ns}" name="test-anotherSubNodeAgain"> |
| <x:attribute URI="${ns}" name="other:abc" trim="true">testValue</x:attribute> |
| </x:element> |
| </test-subnode> |
| </x:replaceNamespace> |
| </x:element> |
| </j:jelly> |
| |