[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] extracting part of an attribute value


Subject: RE: [xsl] extracting part of an attribute value
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Fri, 12 Oct 2001 19:09:03 +0100

> 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



Current Thread
Keywords