- From: Eric Prud'hommeaux <eric@w3.org>
- Date: Thu, 2 Sep 2004 13:41:46 -0400
- To: public-annotea-dev@w3.org
- Message-ID: <20040902174146.GA22644@w3.org>
In case this tickles someone's brain... 2004-09-02T17:22:49Z <BehzK_> i know annotea is mainly for retrieving/storing annotation BUT can it render/display thoes annotations in different ways through an XSLT maybe?? 2004-09-02T17:23:49Z <ericP> ... 2004-09-02T17:24:25Z <BehzK_> Like - i get an anntation -- apply my own style sheet and then display it to the user?? 2004-09-02T17:24:26Z <ericP> supposed both the annotated resource and the annotation were XHTML 2004-09-02T17:25:19Z <ericP> you could have an app pick up the annotation from the annot server and create an XSLT to drop the annotation into the orig resource 2004-09-02T17:25:46Z <BehzK_> yeh -- something like that 2004-09-02T17:25:49Z <ericP> current convention has an XPointer for the context (where in the orig resource the annotaiton goes) 2004-09-02T17:26:12Z <ericP> you'd have to machine-generate XSLT from that XPointer to create the XSLT 2004-09-02T17:26:20Z <ericP> might be easier to use DOM 2004-09-02T17:26:52Z <ericP> (I did that, can point you at an old proxy that would stick annotation in mouseover events in the rendering of the orig resource) 2004-09-02T17:27:46Z <BehzK_> is it hard to learn??? 2004-09-02T17:28:07Z <ericP> DOM? not really, but you need to be comfortable in a prog language 2004-09-02T17:28:31Z <ericP> but you'd have to learn some lang to turn the XPointer into XSLT. 2004-09-02T17:28:45Z <ericP> (though maybe the latter is simpler) 2004-09-02T17:29:03Z <BehzK_> yeh - i was thinking PHP maybe? 2004-09-02T17:29:34Z <ericP> i have personal prejudice against PHP, but that's more of an attitude problem 2004-09-02T17:30:03Z <BehzK_> haha 2004-09-02T17:30:12Z <ericP> i can say that, if you want to use the debugger like i was, you'll be better off with perl. -- -eric office: +81.466.49.1170 W3C, Keio Research Institute at SFC, Shonan Fujisawa Campus, Keio University, 5322 Endo, Fujisawa, Kanagawa 252-8520 JAPAN +1.617.258.5741 NE43-344, MIT, Cambridge, MA 02144 USA cell: +1.857.222.5741 (does not work in Asia) (eric@w3.org) Feel free to forward this message to any list for any purpose other than email address distribution.
Received on Thursday, 2 September 2004 17:41:47 UTC