This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: extracting part of an attribute value


Absolutely, look at the "substring-before", "substring-after" and
"substring" functions
in the XPATH specifications.

Carmelo
----- Original Message -----
From: "Jennifer Wrightsell" <jwrightsell@esri.com>
To: <XSL-List@lists.mulberrytech.com>
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@esri.com
>
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>
>


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]