Skip to Main Content
XML and Related Technologies
book

XML and Related Technologies

by Atul kahate
May 2024
Beginner to intermediate content levelBeginner to intermediate
527 pages
17h 52m
English
Pearson India
Content preview from XML and Related Technologies
286 • XML & Related Technologies
<performance>
<player>Sourav Ganguly</player>
<runs>10000</runs>
<wickets>120</wickets>
</performance>
<performance>
<player>Virender Sehwag</player>
<runs>4000</runs>
<wickets>50</wickets>
</performance>
</cricket>
(a) Write condition2.xsl le mentioned above, which would
display player details only if they have scored more than
10,000 runs.
(b) Modify the same XSLT document to display the player
details only if a player has scored more than 1000 runs and
has also taken more than 100 wickets.
Solution
(a) Details of players scoring more than 10,000 runs
<?xml version=”1.0”?>
<xsl:stylesheet version=”1.0” xmlns:xsl=”http://www. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

XML Schema

XML Schema

Eric van der Vlist
XML in a Nutshell, 3rd Edition

XML in a Nutshell, 3rd Edition

Elliotte Rusty Harold, W. Scott Means
Beginning XML, 5th Edition

Beginning XML, 5th Edition

Danny Ayers, Liam R.E. Quin, Joe Fawcett

Publisher Resources

ISBN: 9781282652262