xsl-list
[Top] [All Lists]

Re: [xsl] Re: "if-condition-return something" idiom : is it possible in XSLT 1 ?

2014-06-17 10:32:07

(Sorry that got sent before I'd finished ....)

Assuming 'q' means '1' and 'w' means '2' ..... (ie mis-hitting qwerty keyboard).

This makes the XSLT 2 version unsuitable for me as I am encountering this issue 
while doing Epub generation.
Epub mandates a certain date format (yyyy-mm-mm) in certain elements in the 
output.  As my incoming dates are in different formats I am parsing them and 
rebuilding in the required format.


Regards,
Richard.





________________________________________
From: Carlos Araya carlos(_dot_)araya(_at_)gmail(_dot_)com 
[xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com]
Sent: 16 June 2014 17:30
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Subject: Re: [xsl] Re: "if-condition-return something" idiom : is it possible 
in XSLT 1 ?

The XSLT w stylesheets do not support all the formats the XSLT q package does 
so this may not be an option. In particular XSLT 2 does not support the 
generation of ePub books

Sent from my iPad

On Jun 16, 2014, at 7:08 AM, Imsieke, Gerrit, le-tex 
gerrit(_dot_)imsieke(_at_)le-tex(_dot_)de 
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> wrote:



On 16.06.2014 15:54, Kerry, Richard richard(_dot_)kerry(_at_)atos(_dot_)net 
wrote:
It's DocBook, which is XSLT 1, so I don't (think I) have a choice.

Please have a look at the DocBook XSLT 2.0 Stylesheets at 
http://docbook.github.io/

--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

<Prev in Thread] Current Thread [Next in Thread>