Register / Login
File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of
Clojure in Action
this week in the
XML and Related Technologies
display xml as html
posted 10 years ago
I have the xml file like this:
<?xml version='1.0'?> <calendar> <year>2005</year> <months><month>January</month> <month>February</month> <month>March</month> <month>April</month> <month>May</month> <month>June</month> <month>July</month> <month>August</month> <month>September</month> <month>October</month> <month>November</month> <month>December</month> </months> </calendar>
I want the html o/p like this:
I am getting the years properly. I am unable to get the months. How do I get the same?
For yrs, in the xsl, i have written
<xsl:for-each select="//year"> <tr> <TD bgcolor="#E2E2E2"> <A class="n1" href="PressReleasesYear.htm"><xsl:apply-templates/><xsl:text> </xsl:text></A> </TD> </tr> </xsl:for-each>
SCJP 1.4, SCWCD 1.4<br /> <br />Thanks in advance!<br />Jayashree.
Don't get me started about those stupid
crimson error encountered
Displaying all the months in the year
user selection of multiple items?