siztem3rror
-
Posts
5 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by siztem3rror
-
-
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?
-
<?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?
-
dont all rush to answer will you, lol
-
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
Counting Nodes and output
in XSLT/XSL-FO
Posted
I'd close these forums down for the amount of use they are, and I'll reiterate the use of 'school' in your name is retarded.