RE: xsl question about substring/index

2003-03-28 Thread Jasmin Mehta
Hi Narinder,   It did work great.   Thanks Jasmin   -Original Message- From: Narinder Garg [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 11:55 PM To: [EMAIL PROTECTED] Subject: Re: xsl question about substring/index   Hi, try this <xsl:value-of sel

Re: xsl question about substring/index

2003-03-28 Thread J.Pietschmann
Jasmin Mehta wrote: Monday, March 24, 2003 4:02:03 PM EST You should try to get ISO date format in the source, it makes processing *much* easier. Apart from this this is a XSLT FAQ: http://www.dpawson.co.uk/ http://www.mulberrytech.com/xsl/xsl-list/ J.Pietschmann -

Re: xsl question about substring/index

2003-03-28 Thread Narinder Garg
Hi, try this ,, take care narinder  Jasmin Mehta <[EMAIL PROTECTED]> wrote: Hi,   Can a

Re: xsl question about substring/index

2003-03-27 Thread Jeremias Maerki
As a quick hack you could write a simple Java class and plug it into Xalan. It is very easy, but isn't portable (Xalan-specific). As a template: package com.mdnotes.xalanext; public class MyXalanExtension { public String truncateMyDateFormat(String theDate) { return theDate.substring

Re: xsl question about substring/index

2003-03-27 Thread Clay Leeds
Usually, a personal request like this would be best handled off-list. Unfortunately, I do not have time to build something like this. However, if you search with google.com, I'm sure you'll find an XSLT file that performs what you're looking for. Then, you should be able to modify the template (

RE: xsl question about substring/index

2003-03-27 Thread Jasmin Mehta
] Subject: Re: xsl question about substring/index Jasmin, Here's a page with some "date" extensions to XSLT: http://www.exslt.org/date Here's a differen extension worth checking out: http://xsltsl.sourceforge.net/date-time.html I'm sure there's an XSL template out the

Re: xsl question about substring/index

2003-03-27 Thread Clay Leeds
Jasmin, Here's a page with some "date" extensions to XSLT: http://www.exslt.org/date Here's a differen extension worth checking out: http://xsltsl.sourceforge.net/date-time.html I'm sure there's an XSL template out there somewhere that does exactly what you're looking for, but I couldn't find it i

xsl question about substring/index

2003-03-27 Thread Jasmin Mehta
Hi,   Can anybody please tell me how to get indexes of specific strings?   For example, I have a long date tag in XML   Monday, March 24, 2003 4:02:03 PM ESTsubmitdate>   And I just want to display ‘Monday, March 24, 2003’ in my PDF file using xsl-fo.   It I have to s