Hi Taras

doing this in xslt might  not be easy. especialy if you have data from 
different days.
you want to turn the date to number of seconds since ... (?)
i think its quite easy to just determin the seconds from midnight.
if you use mozillas native SVG ,another option would be to use 
xbl(insead of xslt).
if you do so you can use js to convert a date to seconds.that might be 
much easier.

hope that helps
Holger

p.s.: will try to post an example later

Taras Bahnyuk wrote:

> Good morning
>
> I'm trying to build graph on following data:
>     <elt>
>    
> <SampleTime>2004-06-08T15:59:40+02:00</SampleTime>
>      <Value>1.828702</Value>
>     </elt>
>     <elt>
>    
> <SampleTime>2004-06-08T20:03:36+02:00</SampleTime>
>      <Value>-2.626633</Value>
>     </elt>
>     <elt>
>    
> <SampleTime>2004-06-09T11:09:17+02:00</SampleTime>
>      <Value>2.134067</Value>
>     </elt>
> As you can see from the data sample "Value" has been
> measured at irregular intervals "SampleTime".
> To be able to create sensible graph I need to convert
> "SampleTime" into number of seconds.
>
> It would be great if sombody let me know if this is
> possible task for xslt at all, and if yes, a little
> example would mwke my day :-)
> Only one remark left, I'm using Mozilla/Firefox with
> native SVG support,so I can't make use of neither
> msxsl nor adobe extantions.
>
> With kind regards,
> Taras Bahnyuk
>
>
>
>            
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - Send 10MB messages!
> http://promotions.yahoo.com/new_mail
>
>
> -----
> To unsubscribe send a message to: 
> [EMAIL PROTECTED]
> -or-
> visit http://groups.yahoo.com/group/svg-developers and click "edit my 
> membership"
> ----
>
>
> *Yahoo! Groups Sponsor*
> ADVERTISEMENT
> click here 
> <http://us.ard.yahoo.com/SIG=1294fsu0p/M=298184.5285298.6392945.3001176/D=groups/S=1706030389:HM/EXP=1095156220/A=2319498/R=0/SIG=11thfntfp/*http://www.netflix.com/Default?mqso=60185352&partid=5285298>
>  
>
>
>
> ------------------------------------------------------------------------
> *Yahoo! Groups Links*
>
>     * To visit your group on the web, go to:
>       http://groups.yahoo.com/group/svg-developers/
>        
>     * To unsubscribe from this group, send an email to:
>       [EMAIL PROTECTED]
>       <mailto:[EMAIL PROTECTED]>
>        
>     * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>       Service <http://docs.yahoo.com/info/terms/>.
>
>



------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/1U_rlB/TM
--------------------------------------------------------------------~-> 

-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to