This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Can I take only parts from node value?
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Tue, 19 Feb 2002 17:05:31 -0000
- Subject: RE: [xsl] Can I take only parts from node value?
- Reply-to: xsl-list at lists dot mulberrytech dot com
> If I have XML-tag like this:
>
> <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?
With the substring() function.
Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list