permaculture playing cards
The moose likes XML and Related Technologies and the fly likes XSLT instruction Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XSLT instruction" Watch "XSLT instruction" New topic

XSLT instruction

Preet Kaur

Joined: Feb 03, 2008
Posts: 1
could you explain the explain the following XSLT instructions
Part 1
<xsl:template match="library//book">
<xsl:if test="@name">
<xsl:value-of select="@name"/>
<xsl:value-of select="author"/>

Part 2
<xsl:template match="company">
<xsl:value-of select="staff[1]/"/>
Nitesh Kant

Joined: Feb 25, 2007
Posts: 1638

What do you want us to explain?
If you are new to XSLT, This tutorial may be a good start.

apigee, a better way to API!
I agree. Here's the link:
subject: XSLT instruction
jQuery in Action, 3rd edition