Subject: RE: [xsl] text modifications in XSLT From: Ryan Puddephatt <rpuddephatt@xxxxxxxxxxxx> Date: Mon, 19 Dec 2005 11:51:11 +0000 |
Ganesh, Try replace(replace(ss-report/cis-no,'.',''),' ','_') That should return the string after removing all the '.' and replacing spaces with '_' If you need more information google 'XPath 2.0 Replace' Ryan Puddephatt Web Developer TFX Group 1 Michaelson Square Livingston West Lothian Scotand EH54 7DP * rpuddephatt@xxxxxxxxxxxx ( 01506 407 110 7 01506 407 108 -----Original Message----- From: N. Ganesh Babu [mailto:ganesh@xxxxxxxxxxxxxxxxxxxxx] Sent: 19 December 2005 11:41 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: [xsl] text modifications in XSLT Dear all, How to do text modificaiton using XSLT. My requirement is as follows: Input ==== <ss-report> <cm1-record> <cis-no>1689 H.exdoc.120</cis-no> <ocr-confidence level="6">33.3%</ocr-confidence> <ocr-confidence level="7">32.1%</ocr-confidence> <ocr-confidence level="8">10.4%</ocr-confidence> </cm1-record> </ss-report> Output: === 1689_Hexdoc120 Regards, Ganesh
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] text modifications in XSLT, N. Ganesh Babu | Thread | RE: [xsl] text modifications in XSL, drkm |
[xsl] text modifications in XSLT, N. Ganesh Babu | Date | RE: [xsl] text modifications in XSL, drkm |
Month |