Subject: RE: [xsl] Help me out on Removing the blankspaces from a textarea From: "Arun Sinha" <arunsinha666@xxxxxxxxxxx> Date: Wed, 20 Oct 2004 07:04:38 +0000 |
From: "Mohammed Ashfaq S" <Mohammed.S@xxxxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Subject: [xsl] Help me out on Removing the blankspaces from a textarea Date: Wed, 20 Oct 2004 12:23:32 +0530
Hi All
I have a problem in removing the blank spaces from the textarea in a .xsl file.
Problem description:
Have to replace the @@@ and with a new line char ('\n') in the textarea, I have used regEx ( JavaScript regular Expression)
to replace the @@@ characters with a new line ('\n'),But I have noticed that a blank space gets appended at the end of the each line
and hence makes the document unreadable.
---------------------------------------------------------------------------------------------------
----Original String (that comes from the Server) before display in to the textarea in .xsl file---
.hello .abcd @@@E X A M P L E:2^ @@@%description% @@@.notvoidksdfd@@@%description%||%price% %taxes:r2% @@@ @@@ @@@.notvoided,voidstatus=VOID,oad=regularasdfasdfa2^ @@@E X A M P L E @@@.regularjsjs @@@EXAMPLE CHANGE @@@ @@@ E X A M P L E @@@%EXAMPLE DISCOUNTdescription @@@ @@@.regularline EXAMPLE DISCOUNT @@@EXAMPLE DISCOUNT @@@%EXAMPLE DISCOUNT description ---------------------------------------------------------------------------------------------------
At the end of each line an extra space gets added when I save the document and hence makes the document unreadable.
Can anyone provide me with a solution to replace @@@ chars in the String before displaying into the textarea?
Thanks for any help in advance
Ashfaq
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Help me out on Removing the b, Mohammed Ashfaq S | Thread | RE: [xsl] Help me out on Removing t, Jarno.Elovirta |
RE: [xsl] parsing version number st, Jarno.Elovirta | Date | RE: [xsl] Help me out on Removing t, Jarno.Elovirta |
Month |