Since there is no match of surname as child of source (root).
Vasan
Greenhorn
Joined: Sep 08, 2002
Posts: 11
posted
0
Hi Shan, in the example we are selecting the value. Instead of value-of when we use apply-templates it will come in <i>. Hope iam clear. regards Vasan
Vidya Nayak
Greenhorn
Joined: Apr 20, 2002
Posts: 24
posted
0
If it is value-of, then only content of element is used without further processing. If apply-template is used, processing is done as per template definition (i for surname in this case). Cheers, Vidya