[Ietf-caldav] RE: iCalendar to XML transform
TimHare at comcast.net
Mon Nov 13 07:02:13 PST 2006
Simple: I have XT at home, I don't have Python; and I wanted to see if I
could do it purely in XSLT. I've done XML-to-iCal in XSLT so this seemed
like a logical challenge. Professionally, I'm a mainframe jock, so you're
lucky I didn't just write it in COBOL <grin> - the new variants contain XML
input and output capabilities - parsing, not validating.
Interested Bystander, Non-Inc.
From: www-rdf-calendar-request at w3.org
[mailto:www-rdf-calendar-request at w3.org] On Behalf Of Dan Connolly
Sent: Monday, November 13, 2006 9:55 AM
To: Tim Hare
Cc: www-rdf-calendar at w3.org; ietf-caldav at osafoundation.org
Subject: Re: iCalendar to XML transform
On Sun, 2006-11-12 at 21:11 -0500, Tim Hare wrote:
> I've worked out an XSL transform which I believe will convert any
> iCalendar file to an XML document that has a node for each component
> and property in the input file, with attributes on component elements
> which are the parameters on the properites input.
> One issue, remains, however: the only way I could find to bring in the
> iCalendar file was as a defined SYSTEM entity in the XSL stylesheet
What prompted you to try using XSLT for parsing .ics files?
My approach to reading iCalendar has been to use python and build
JSON-shaped structures, and then convert to various XML formats using Kid
Hmm... not much documentation in those modules. I wrote an couple items on a
similar exercise involving quicken data...
Getting my Personal Finance data back with hCalendar and hCard Submitted by
connolly on Wed, 2006-03-08
using JSON and templates to produce microformat data Submitted by connolly
on Sun, 2006-03-19
Dan Connolly, W3C http://www.w3.org/People/Connolly/
D3C2 887B 0F92 6005 C541 0875 0F91 96DE 6E52 C29E
More information about the Ietf-caldav