Subject: [xsl] Processing HTML document. From: Antonio Fiol <fiol@xxxxxxxxxx> Date: Tue, 04 Jun 2002 19:05:41 +0200 |
<?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml" /> <xsl:template match="/"> <article> <xsl:apply-templates select="html/body/table[3]/tr[1]/td[1]" /> </article> </xsl:template> </xsl:stylesheet>
P.S.: Here is the beginning of my HTML code: <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <!-- #BeginTemplate "/Templates/standard.dwt" -->
<head> <!-- Some meta tags and a link tag. All of them empty and valid. --> </head>
<body bgcolor="#FFFFFF" text="#000000"> [...]
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] back again: child nodes i, Mike Brown | Thread | Re: [xsl] Processing HTML document., Oleg Tkachenko |
Re: [xsl] accessing node[$position], Oleg Tkachenko | Date | [xsl] Question using xsl:if and xsl, Williams, Chris D. |
Month |