xsl-list
[Top] [All Lists]

By Using concat substring-after?

2005-10-30 02:32:10
Hi All,

I need to get filename extension as 

        <fileloc path="Testing.htm"> 

From the element which contains 

<file fileloc="Help/Topics/xml/Testing.xml"/>

By using below as xsl element: 

<xsl:value-of select="concat(substring-after(@fileloc,'/xml/'),'.htm')"/>

I am getting 

<fileloc path="Testing.xml.htm">


How to get rid of this problem?

Thanks,
Shailesh







--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--