Subject: [xsl] Detecting and replacing "Space" in a XML using XSL From: Buddhi Dananjaya <buddhi@xxxxxxxxxxxxxxxxxxx> Date: Tue, 11 Sep 2007 09:21:11 +0530 |
I have a string element in a xml file, it can consist a word. After parsing I am taking letter by letter with some formatting stuff.
My original String: <Value>H A N</Value>
I want to translate spaces into '_x0020_' rather than empty space. I tried using "translate()" but it will put one character because I have single space. translate(substring($text,$i,1), ' ', '_x0020_')
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] How many levels of nodes , Michael Kay | Thread | Re: [xsl] Detecting and replacing ", oryann9 |
Re: [xsl] attribute value replaceme, David Carlisle | Date | [xsl] Keeping track of processed no, John Smith |
Month |