[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
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.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
[xsl] How to split a relative link into 2 parts?
Subject: [xsl] How to split a relative link into 2 parts? From: Wolfgang Schreurs <emperor667@xxxxxxx> Date: Wed, 21 May 2003 19:38:15 +0200 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] fo:inline superscript, J.Pietschmann | Thread | Re: [xsl] How to split a relative l, me |
RE: [xsl] Divide in an expression?, Scott Purcell | Date | RE: [xsl] Divide in an expression?, Martinez, Brian |
Month |