|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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@xxxxxxxx> To: <XSL-List@xxxxxxxxxxxxxxxxxxxxxx> Sent: Friday, October 12, 2001 1:34 PM Subject: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








