How to format a string to camel case in XSLT?

Posted by DBA_Alex on Stack Overflow See other posts from Stack Overflow or by DBA_Alex
Published on 2010-04-15T16:56:01Z Indexed on 2010/04/15 20:33 UTC
Read the original article Hit count: 356

I'm trying to format strings in XSLT that needs to be in camel case to be used appropriately for the application I'm working with.

For example:

this_text would become ThisText
this_long_text would become ThisLongText

Is it possible to also set this up where I can send an input to the format so I do not have to recreate the format multiple times?

© Stack Overflow or respective owner

Related posts about xslt

Related posts about string