C
C Gillespie
Dear All,
I hopefully have a simple problem.
I have a xml file, say
<AAA>
<BBB>test 1</BBB>
<BBB>test 2</BBB>
<CCC />
</AAA>
What I want to be able to do is pass an xpath reference with a substitute
string.
For example /AAA/BBB[1] & <DDD>new test</DDD>, would give
<AAA>
<DDD>new test</DDD>
<BBB>test 2</BBB>
<CCC />
</AAA>
Any help is appreciated.
Thanks
Colin
I hopefully have a simple problem.
I have a xml file, say
<AAA>
<BBB>test 1</BBB>
<BBB>test 2</BBB>
<CCC />
</AAA>
What I want to be able to do is pass an xpath reference with a substitute
string.
For example /AAA/BBB[1] & <DDD>new test</DDD>, would give
<AAA>
<DDD>new test</DDD>
<BBB>test 2</BBB>
<CCC />
</AAA>
Any help is appreciated.
Thanks
Colin