Jump to content

siztem3rror

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by siztem3rror

  1. I have a html file with a number of tables in.. the table tags are inside <td> tags so that I can count them. What I want to do is count the <table> tags, if the <table> tag occurs 3 time or more I want to output the strings contained in it.Any ideas?

  2. <?xml version="1.0"?><xsl:stylesheet version="1.0"  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"  xmlns:htm="http://www.w3.org/1999/xhtml">  <xsl:template match="htm:td[2]/htm:font/htm:select">  <xsl:value-of select="."/>  </xsl:template>  <xsl:template match="text()"/></xsl:stylesheet>

    I sorted it by navigating to a particular one.. what can I say.. erm .. thanks?

  3. ok, there is a drop down box with a list of options. But it reoccurs on the page a number of times. but i only want the output once.the select tag has a value I can track, but i want the list of <options> below.This is what i have so far:

    <?xml version="1.0"?><xsl:stylesheet version="1.0"  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"  xmlns:htm="http://www.w3.org/1999/xhtml">  <xsl:template match="htm:select[@name='selection']">  <xsl:value-of select="."/>  </xsl:template>  <xsl:template match="text()"/></xsl:stylesheet>

    lets say the options were A B C D E but the box appeared on the page 3 times. The output here would be A B C D E A B C D E A B C D Ewhat would I need to do to just get A B C D E

×
×
  • Create New...