Are you adding/deleting a node on different occassions or simply replacing it?
I suggest using a copy stylesheet first, and then setting up templates for elements that match certain conditions.
How dynamic are you trying to make this? Is it always one of the 2nd level nodes? eg. can be found by xpath /*/* ?
|