Welcome, guest ( Login )

Powered by JotSpot

WikiHome » Lib » Ext » HooversNameSearchXSLT

HooversNameSearchXSLT

Version 5, changed by s3admin. 12/16/2006.   Show version history

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:html="http://www.w3.org/1999/xhtml" version="1.0">
  <xsl:template match="/">
    <results>
      <xsl:for-each select="//DIV[@class='hoovset']//UL[@class='similar_matches']/LI">
        <company>
          <href>
            <xsl:value-of select="SPAN[1]/A/@href" />
          </href>
          <name>
            <xsl:value-of select="SPAN[1]" />
          </name>
          <ticker>
            <href>
              <xsl:value-of select="SPAN[2]/A/@href" />
            </href>
            <symbol>
              <xsl:value-of select="SPAN[2]" />
            </symbol>
          </ticker>
        </company>
      </xsl:for-each>
    </results>
  </xsl:template>
</xsl:stylesheet>

Attachments (0)

  File By Size Attached Ver.