[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

xslt question

Subject: xslt question
From: "XSL User" <xsltuser@xxxxxxxxxxx>
Date: Fri, 28 Jul 2000 16:02:30 GMT
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



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.