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'" <XSL-List at lists dot mulberrytech dot com>
- Subject: RE: [xsl] extracting part of an attribute value
- From: Jennifer Wrightsell <jwrightsell at esri dot com>
- Date: Tue, 16 Oct 2001 13:44:53 -0700
- Reply-To: xsl-list at lists dot mulberrytech dot com
Thanks to everyone who responded. This works wonderfully!
Jennifer
Date: Fri, 12 Oct 2001 19:09:03 +0100
From: "Michael Kay" <mhkay@iclway.co.uk>
Subject: RE: [xsl] extracting part of an attribute value
> 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.
Something like
substring-before(
substring-after(@src, ":"), "::")
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list