This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Can I take only parts from node value?


jp wrote:

> <today date="200202190800" />
> 
> and I want output:
> 
> Time is 08:00
> Date is 19.02 
> Year is 2002
> 
> How can I do this with XSL/T? Or should I change XML output?

Use substring(string, start, length?) function.

-- 
Oleg Tkachenko
Multiconn International, Israel


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]