This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
Similar Threads
Getting my HTML output to backspace one character
XML Transformation
Data Structure for logic tree
Concatenating Nodes into CSV format
Testing if the parameter passed is empty..Help pls!