File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Product and Other Certifications and the fly likes zvon example doubt Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Product and Other Certifications
Reply Bookmark "zvon example doubt" Watch "zvon example doubt" New topic
Author

zvon example doubt

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
http://www.zvon.org/xxl/XSLTutorial/Output/example7_ch1.html
Stylesheet1 example.
why is <b></b> common for fname and surname in output?
Why did it not display surname in italics?
Roseanne Zhang
Ranch Hand

Joined: Nov 14, 2000
Posts: 1953
Since there is no match of surname as child of source (root).
Vasan
Greenhorn

Joined: Sep 08, 2002
Posts: 11
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
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: zvon example doubt
 
Similar Threads
transform xml -> xml with xsl(t)
simple example problem
XSLT OUTPUT
Default processing?
Question on XSL