[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] xslt question
I am trying to get the 5th table of the 1st table of the 3rd table ONLY from
an HTML document. I've been trying various combinations for a couple of days
now and it is frustrating?
Can anyone help? What I have is as follows: <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:template match="html"> <HTML> <xsl:apply-templates /> </HTML> </xsl:template> <xsl:template match="head"> <HEAD> <xsl:apply-templates /> </HEAD> </xsl:template> <xsl:template match="meta[1]"> <META NAME="PalmComputingPlatform" CONTENT="True" /> </xsl:template> <xsl:template match="title"> <TITLE> <xsl:value-of select="." /> </TITLE> </xsl:template> <xsl:strip-space elements="*" /> <xsl:template match="body" > <BODY> <xsl:apply-templates /> </BODY> </xsl:template> <xsl:template match="body//*"> </xsl:template> <xsl:template match="table[3]/table[1]/table[5]"> <HR> <xsl:apply-templates /> </HR> </xsl:template> <xsl:template match="//table[5]/*|//table[5]/@*|//table[5]/comment()|//table[5]/processing-instruction()|//table[5]/text()"> <xsl:copy> <xsl:apply-templates select="@*|*|comment()|processing-instruction()|text()"/> </xsl:copy> </xsl:template> </xsl:stylesheet> ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|