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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Capitalize

Status
Not open for further replies.

sem

Programmer
Joined
Jun 3, 2000
Messages
4,709
Location
UA
Does anybody know a way to convert attribute name to uppercase?

Code:
	<xsl:template match="property">
		<xsl:element name="[b]capitalize{@name}">
			<xsl:apply-templates/>
		</xsl:element>
	</xsl:template>

Regards, Dima
 
One way would be to use the XSLT1 translate() function.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top