xsl-list
[Top] [All Lists]

How to split a relative link into 2 parts?

2003-05-21 10:38:15
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



<Prev in Thread] Current Thread [Next in Thread>