Home » Category » Java Professional Certification

Java Professional Certification: zvon example doubt

302| Tue, 15 Jul 2008 11:52:00 GMT| shanjava| Comments (3)
http://www.zvon.org/xxl/XSLTutorial/Output/example7_ch1.html
Stylesheet1 example.
why is common for fname and surname in output?
Why did it not display surname in italics?

Keywords & Tags: zvon, example, doubt, java, professional, certification

URL: http://java.itags.org/java-certification/99972/
 
«« Prev - 3 helpful answers below.
Since there is no match of surname as child of source (root).

roseannezhang | Tue, 15 Jul 2008 11:53:00 GMT |

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

vasan | Tue, 15 Jul 2008 11:54:00 GMT |

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

vidyanayak | Tue, 15 Jul 2008 11:55:00 GMT |

Java Professional Certification Hot Answers

Java Professional Certification New questions

Java Professional Certification Related Categories