aspose file tools*
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


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XSLT instruction" Watch "XSLT instruction" New topic
Author

XSLT instruction

Preet Kaur
Greenhorn

Joined: Feb 03, 2008
Posts: 1
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

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: http://aspose.com/file-tools
 
subject: XSLT instruction