Guest Onnozelaar Posted November 9, 2006 Share Posted November 9, 2006 Hey all,i'm struggling with something :let's say i've got all kinds of nodesi need to get the nodes where the "title" attribuut contains "you"(title = "youuuuuu" or title="dmflksjfyou dmlskfj" also have to be found)i've tried many many times but no luck(while i don't think it's that difficult... probably something i'm missing)so... anyone ?thnx in advanceGreetzOnnozelaar Link to comment Share on other sites More sharing options...
boen_robot Posted November 9, 2006 Share Posted November 9, 2006 The contains() function maybe? <xsl:for-each select="//@title<xsl:if test="contains(., 'you')"><xsl:value-of select="."/></xsl:if> 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