• 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