View Single Post
Old October 2nd, 2006, 07:22 AM
prithvi28 prithvi28 is offline
Registered User
Join Date: Sep 2006
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts

Thanks mhkay. I created the templates for formattign different phone numbers and date. I am using an import statement as I I needed formatting in multiple files.
I replaced the above piece of script with
<xsl:for-each select="n1:phone">
                                    <xsl:for-each select="n1:mobile">                                        
                                                <xsl:call-template name="format_phone">
                                                    <xsl:with-param name="in_phone" select="."/>
Regarding for-each, did you mean I should be able to completely get rid of them ?