xsl-list
[Top] [All Lists]

Re: find capital letters in string and split it

2003-02-10 04:29:42
Hi Bryan,

bryan wrote:

This is of
course resource intensive and not foolproof. Anybody have any thoughts
on how to do this?
You could replace the upper case letters with spaces, which are illegal in element or attribute names. Find the position in the spaced-in name then substring from that in the original. Still slow and somewhat ugly, but should be foolproof. And not *that* slow given that there's no I/O involved.

Francis.


XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list