Hi,
I need to create an XSL to take an input XML and modify the contents of a particular tag. So the output XML is almsot same as the input XML except for the contents of a single element.For example, I wanty to change the contents of child2 only. rest of the document remains the same.
example: input.xml
Code:
<root>
<parent>
<child1>a</child1>
<child2>b</child2>
</parent>
<parent>
.
.
</parent>
</root>
My actual document is huge. I was lookign at the option of using apply-templates. Is it possible to do something like apply a template to just change the contents of child2 and apply another template to copy the remaining document as it is? Guide me please.
thanks,