- From: Simone Onofri <simone.onofri@gmail.com>
- Date: Mon, 4 Jun 2007 23:33:25 +0200
- To: "Dan Connolly" <connolly@w3.org>
- Cc: public-grddl-wg <public-grddl-wg@w3.org>, "Danny Ayers" <danny.ayers@gmail.com>
On 6/4/07, Dan Connolly <connolly@w3.org> wrote: > On Sat, 2007-06-02 at 14:18 +0200, Simone Onofri wrote: > > On 6/2/07, Dan Connolly <connolly@w3.org> wrote: > > > > > > Danny Ayers wrote: > > > > > > > > (Source) XHTML documents served as "text/html" - may be treated as XML > > > > by a GRDDL-aware agent...? > > > > > > Of course. Why not? > > > > According to Dan, depending on XSLT parser it may have difficulties if > > the XML source is not served as true XML. > > What difficulties? > > What is "true XML"? On a PHP server I'm using Sablotron library parsing XSL and it have some problems reading XML documents (...various reasons but most is Sablotron itself...). So, for "true XML" I mean XML sent with its "true" [1] mime and well-formed. For example, I'm using it to render this: hCal --XSL(taken from You and Suda)--> vCal --XSL(little mine) --> Timeline-XML --> Exhibit Timeline So this works only of a few pages (starting from hCal in XHTML). Your home page [2] is one that works [3] (double check if there are more lag). So using an XSL to glean info from and XHTML is delicated (Tidy can/may be the solution?). > > This works also for XHTML > > 1.0 Strict documents served as text/html for compatibility. XHTML 1.0 > > Strict treated as XML is right for transforming and other typical XML > > operations. > > Of course. > Thanks, Simone [1] http://www.w3.org/TR/xhtml-media-types/ [2] http://www.w3.org/People/Connolly/ [3] http://www.siatec.net/timeline/index.php?hcal=http%3A%2F%2Fwww.w3.org%2FPeople%2FConnolly%2F
Received on Monday, 4 June 2007 21:33:27 UTC