Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Left function for XSLT

Status
Not open for further replies.

abs2003

MIS
Aug 31, 2004
80
0
0
US
Can display just left 10 characters of information from XML using XSLT style sheet?
 
Never mind. My mind is somewhere's else. All I have to do is to call a function and return 10 characters.
 
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top