This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Newbie question with XSL and functions
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Newbie question with XSL and functions
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Fri, 16 Jun 2000 10:22:28 +0100
- Reply-To: xsl-list at mulberrytech dot com
>
> I am new to using XSL and have a question. I have a
> conversion that I need
> to do over and over again on a certain type of data through-out my
> stylesheet. I was wondering if there is a concept of a
> function in XSL ... The conversion I need to do is to
> transform a decimal degrees value to a degrees:minutes:second format.
>
Two options: if the conversion can be expressed reasonably easily in XSLT
then write a named template, otherwise call an external function written
e.g. in Java or Javascript: the details then depend on your choice of XSLT
processor.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list