|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] How do i use a substring
Hello everybody, I have a telephone number 1234567890ABCD which i recieve from an XML BatchResponse, i use an XML Schema i want to seperate it in my XSL as 123-456-7890-ABCD So any clues how to do it? <xsl:for-each select="attr[@name='telephoneNumber']"> <xsl:value-of select="substring(value, 1, 3)"></xsl:value-of> </xsl:for-each> The substring function does'nt work here again the same <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl"> namespace problem i guess, i have installed the MSXML3 in replace mode from netcrucible.com but still it does'nt recognize the substring function. Regards, Suman -----------------------Disclaimer------------------------ The views of the author may not necessarily reflect those of the Company. All liability is excluded to the extent permitted by law for any claims arising as a result of the use of this medium to transmit information by or to IT Solutions (India) Pvt. Ltd. We have taken precautions to minimize the risk of transmitting software viruses, but we advise you to carry out your own virus checks on any attachment to this message. We cannot accept liability for any loss or damage caused by software viruses. ------------------------Disclaimer------------------------ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|






