This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: extracting part of an attribute value
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: Re: [xsl] extracting part of an attribute value
- From: "Carmelo Montanez" <carmelo at nist dot gov>
- Date: Fri, 12 Oct 2001 13:49:03 -0400
- Organization: NIST
- References: <0DBA3D0D2559D311B69600508B12216E090168A2@highwire.esri.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
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