[thelist] String Manipulation

Joel Konkle-Parker jjk3 at msstate.edu
Sat Jun 22 18:50:01 CDT 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have an XSLT stylesheet that's taking information from an external
file. That file has a structure similar to the following:

<category>
  <category_name>About Us</category_name>
</category>

I need to use this category_name in my html, but not like that. More
specifically, I need to take either take out that space and have
AboutUs, or just use the first word, About. It also needs to be set
up so that if category_name is just one word, it will be preserved.

Any ideas?

- -joeljkp

- ---------------------------------------
http://www.ballsome.com

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBPRUNF3880CLOJa2eEQKdqACgqZBnBNeweCiRpJThspzTO/EbNO8AoIC/
GQU0ev096FMgzlCgP19xUgzM
=mAPG
-----END PGP SIGNATURE-----





More information about the thelist mailing list