<xsl:value-of select="concat(substring-after(@fileloc,'/xml/'),'.htm')"/>
You allmost did it, just try
<xsl:value-of
select="concat(substring-before(substring-after(@fileloc,'/xml/'),'.'),'.htm')"/>
Regards, Manfred Staudinger, Vienna
On 30/10/05, Shailesh Shinde <shailesh(_at_)quagnito(_dot_)com> wrote:
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>
--~--
--~------------------------------------------------------------------
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>
--~--