Re: [xsl] extracting part of an attribute value

Subject: Re: [xsl] extracting part of an attribute value
From: "Carmelo Montanez" <carmelo@xxxxxxxx>
Date: Fri, 12 Oct 2001 13:49:03 -0400
Absolutely, look at the "substring-before", "substring-after" and
"substring" functions
in the XPATH specifications.

Carmelo
----- Original Message -----
From: "Jennifer Wrightsell" <jwrightsell@xxxxxxxx>
To: <XSL-List@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Friday, October 12, 2001 1:34 PM
Subject: [xsl] extracting part of an attribute value


> Hi,
>
> Is there a way to extract part of an attribute value?  For example,
suppose
> I have the following in my XHTML file:
>
> <script type="text/javascript" language="JavaScript"
> src="ms-its:Transitioning.chm::/81Help.js">
> </script>
>
>  and I want to extract just the name of the .chm file (in this case,
> "Transitioning.chm") to use in my output XML file.  Is there a way to do
> this with XSLT?
>
> Any comments would be greatly appreciated!
>
> Thanks,
>
> Jennifer Wrightsell
> ESRI
> jwrightsell@xxxxxxxx
>
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>
>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread