jmreinwald
Technical User
Maybe a beginner question, but I can't seem to find anything on it after some quick searching. Here's a code snippet (with unnecessary stuff taken out):
As I'm parsing the xml with xslt, I'm already sitting at the <record> node, so I grab it with so/sf1.
The problem I'm running into is that I need the init caps. The only way I can think of is to grab the first character after a space and do a replace, but I don't want to initcap words like a, an, the, of, and so on.
There's probably a simply way to do it...
Code:
<recordSet>
<record>
<so subtag="JN">
<sf1>Journal of clinical oncology</sf1>
</so>
...
As I'm parsing the xml with xslt, I'm already sitting at the <record> node, so I grab it with so/sf1.
The problem I'm running into is that I need the init caps. The only way I can think of is to grab the first character after a space and do a replace, but I don't want to initcap words like a, an, the, of, and so on.
There's probably a simply way to do it...