This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XSLT instruction

 
Preet Kaur
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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:if>
<xsl:value-of select="author"/>
</xsl:template>

Part 2
<xsl:template match="company">
<xsl:value-of select="staff[1]/first.name"/>
</xsl:template>
 
Nitesh Kant
Bartender
Posts: 1638
IntelliJ IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you want us to explain?
If you are new to XSLT, This tutorial may be a good start.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic