[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

How to split a relative link into 2 parts?

Subject: How to split a relative link into 2 parts?
From: Wolfgang Schreurs <emperor667@xxxxxxx>
Date: Wed, 21 May 2003 19:38:15 +0200
wolfgang schreurs
I need to split a relative link (like: /careers/pages/en/index.htm) into 2 parts using XSL. The first part I want to have within a variable would be like this: /careers/pages/en (this is the folderpath)
I would also like to save the second part inside a variabel, this would look like: index.htm (this is the filename)


The link (/careers/pages/en/index.htm) would be send to a template (using xsl:call-template) as a parameter. The template that is called needs to handle this string and split it in two.

I hope someone will be able to help me with this.

Kind regards,
W. Schreurs


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



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.