xsl-list
[Top] [All Lists]

Re: [xsl] date calculations

2007-03-26 01:34:36
On 3/24/07, Michael Kay <mike(_at_)saxonica(_dot_)com> wrote:
If you had a schema that defined the data types of your elements, it would
be even simpler:

StartTime + Duration

This feels a bit wrong to me, along the lines of augmenting the xml
with defaulted attributes - by doing this aren't you then relying on
the input being validating every time the transform runs, even if the
xml hasn't changed?

You don't seem to be gaining much over being explicit with the types
in the stylesheet...

(SA transforms involving typed input are still very new - the benefits
of result validation are clear, but input "typing" isn't... (what is
the correct terminology here?  "input validation" doesn't do it
justice))

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--