RE: [xsl] only two chars after a slash

Subject: RE: [xsl] only two chars after a slash
From: henry human <henry_human@xxxxxxxx>
Date: Wed, 13 Apr 2005 23:03:26 +0200 (CEST)
i get only text (concat(substring-be....) in browser
with:
concat( substring-before(<xsl:value-of
select="prodAmount"/>, '/'), '/', 
substring(substring-after(<xsl:value-of
select="prodAmount"/>, '/'), 1, 2))
??





--- Michael Kay <mike@xxxxxxxxxxxx> wrote:
> concat(
>  substring-before($x, '/'),
>  '/',
>  substring(substring-after($x, '/'), 1, 2)
> )
> 
> Michael Kay
> http://www.saxonica.com/
>   
> 
> > -----Original Message-----
> > From: henry human [mailto:henry_human@xxxxxxxx] 
> > Sent: 13 April 2005 20:57
> > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> > Subject: [xsl] only two chars after a slash
> > 
> > Hello,
> > example: text/ABCDEF
> > how could i get only two chars after slash
> > to be like this: text/AB
> > ?
> > 
> > 
> > 
> > 
> > 	
> > 
> > 	
> > 		
> >
>
___________________________________________________________
> 
> > Gesendet von Yahoo! Mail - Jetzt mit 250MB
> Speicher kostenlos 
> > - Hier anmelden: http://mail.yahoo.de
> 
> 


	

	
		
___________________________________________________________ 
Gesendet von Yahoo! Mail - Jetzt mit 250MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de

Current Thread