troubleshooting Question

JSP - XSL - Display in table

Avatar of vandy02
vandy02Flag for United States of America asked on
12 Comments1 Solution266 ViewsLast Modified:
I have the following xsl file placed in the code section below that I would like to display in a html table.  

<?xml version="1.0" encoding="iso-8859-1"?>
<xsl:stylesheet version="1.0"
  <xsl:output method="html" indent="yes" />
  <xsl:template match="/">
        <title>JSTL XML Support -- Transforming</title>
      <body bgcolor="#98AFC7">
        <h3>Transforming an XML Document using XML tags</h3>              
        <xsl:apply-templates />
  <xsl:template match="Author-Name">
    <!--printing the Last element-->
    <xsl:apply-templates select="Last"/>
  <xsl:template match="Last">
    <xsl:value-of select="text()" />
    <br />
  <xsl:template match="Book-Name" >
    <!--printing the BOOK-NAME element -->
    BOOK NAME : 
    <xsl:value-of select="text()" />
    <br />
    <xsl:template match="Language" >
    <!--printing the BOOK-NAME element -->
    <xsl:value-of select="text()" />
    <hr />
Join our community to see this answer!
Unlock 1 Answer and 12 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 12 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros