[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] XSL and HTML Table
I've tried to put <Table> tag before <xsl-for-each> tag but the problem
persists.
here are the file (.xml , .xsl) i'm trying to display in IE5. ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com <?xml version="1.0"?> <?xml:stylesheet type="text/xsl" href="XMLprova3.xsl"?> <DOCUMENT> <PFRAME> <BLOCK> <Title> Theory and Applications of Agnostic PAC-Learning with Small Decision Trees </Title> </BLOCK> <BLOCK> <AUTHORS pos="zero"> Peter Auer* Institute for Theoretical Computer Science Technische Universitaet Graz A-8010 Graz, Austria pauer@xxxxxxxxxxxxxxxxx</AUTHORS> </BLOCK> <BLOCK> <Title> Theory and Applications 2 </Title> </BLOCK> <BLOCK> <AUTHORS pos="uno"> Wolfgang Maass Institute for Theoretical Computer Science Technische Universitaet Graz A-8010 Graz, Austria maass@xxxxxxxxxxxxxxxxx</AUTHORS> </BLOCK> </PFRAME> </DOCUMENT> <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl='http://www.w3.org/TR/WD-xsl'> <xsl:template > <xsl:apply-templates/> </xsl:template> <xsl:template match='/'> <HTML> <BODY STYLE="background-color=#EEEFFF"> <TABLE WIDTH="100%" border="1" > <xsl:for-each select="DOCUMENT/PFRAME/BLOCK"> <TR> <TD WIDTH="2%"></TD> <TD WIDTH="97%"> <hr/> <P ALIGN="CENTER"> <FONT SIZE="4"> <xsl:value-of select="Title"/> </FONT> </P> <hr/> </TD> <TD></TD> </TR> </xsl:for-each> </TABLE> <BR/><BR/><BR/><BR/> <TABLE border="1" WIDTH="100%"> <xsl:for-each select="DOCUMENT/PFRAME/BLOCK"> <TR> <TD border="1" WIDTH="35%" VALIGN="TOP"> <P ALIGN="CENTER"> <FONT SIZE="2"> <xsl:value-of select="AUTHORS"/> <xsl:choose> <xsl:when test='*[@pos="zero"]'> <xsl:apply-templates select="text()"/> </xsl:when> </xsl:choose> </FONT> </P> </TD> <TD>ciao</TD> <TD border="1" WIDTH="35%" VALIGN="TOP"> <P ALIGN="CENTER"> <FONT SIZE="2"> <xsl:value-of select="AUTHORS"/> <xsl:choose> <xsl:when test='*[@pos="uno"]'> <xsl:apply-templates select="text()"/> </xsl:when> </xsl:choose> </FONT> </P> </TD> </TR> </xsl:for-each> </TABLE> </BODY> </HTML> </xsl:template> </xsl:stylesheet>
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|