[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: text modifications in XSLT
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: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|