I know I am a newb, but please bear with me:

I have a simple XSL doc:

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/HTML/BODY">
    Start
<xsl:apply-templates />
Stop
</xsl:template>
<xsl:template match="[EMAIL PROTECTED]'ffffee']">
  Starting TD Match
  <xsl:copy-of select="."/>
  Ending TD Match
</xsl:template>
</xsl:stylesheet>


It basically looks for all column nodes with the bgcolor attribute set to ffffee.  What's wierd is that, upon running it on the page at http://biz.yahoo.com/p/, it outputs not only what I tell it too (the literals plus the copy of the TD tags), but also the text between ALL tags.  What am I doing wrong?

The foo.out is one such failed attempt to make this work.

BTW, I am using the nekoHTML recommended earlier, and it seems to parse the HTML just fine.


Attachment: foo.out
Description: Binary data

Reply via email to