Subject: Re: [xsl] date calculations From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx> Date: Mon, 26 Mar 2007 09:34:22 +0100 |
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))
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] date calculations, Michael Kay | Thread | RE: [xsl] date calculations, Michael Kay |
RE: [xsl] org.apache.xpath.objects., Michael Kay | Date | RE: [xsl] date calculations, Michael Kay |
Month |