Aug 25, 2005 #1 abs2003 MIS Aug 31, 2004 80 US Can display just left 10 characters of information from XML using XSLT style sheet?
Aug 25, 2005 Thread starter #2 abs2003 MIS Aug 31, 2004 80 US Never mind. My mind is somewhere's else. All I have to do is to call a function and return 10 characters. Upvote 0 Downvote
Never mind. My mind is somewhere's else. All I have to do is to call a function and return 10 characters.
Aug 30, 2005 #3 JontyMC Programmer Nov 26, 2001 1,276 GB You can use substring XPath function: Code: <xsl:value-of select="substring(mynode, 0, 10)"/> Jon "I don't regret this, but I both rue and lament it. Upvote 0 Downvote
You can use substring XPath function: Code: <xsl:value-of select="substring(mynode, 0, 10)"/> Jon "I don't regret this, but I both rue and lament it.