siztem3rror Posted November 18, 2005 Report Share Posted November 18, 2005 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 Link to comment Share on other sites More sharing options...
siztem3rror Posted November 19, 2005 Author Report Share Posted November 19, 2005 dont all rush to answer will you, lol Link to comment Share on other sites More sharing options...
siztem3rror Posted November 19, 2005 Author Report Share Posted November 19, 2005 <?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? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now