- From: Norman Walsh <ndw@nwalsh.com>
- Date: Wed, 16 May 2007 12:29:48 -0400
- To: public-xml-processing-model-wg@w3.org
- Message-ID: <873b1wlojn.fsf@nwalsh.com>
/ Alessandro Vernet <avernet@orbeon.com> was heard to say:
| Let's consider a use case I see frequently: parsing an HTML fragment,
| and I'd like to transform that fragment into an XHTML fragment (which
| is also an XML document). In this case, text/html is not appropriate
| as I wouldn't want to have an html/body added around my fragment to
| make it valid XHTML. I just want the HTML fragment to be transformed
| into XML.
Well, it'd be easy to extract the fragment out of the resulting
html/body, but I see your point.
| My question was: what content type should I use in this case? With the
| above description it seems the answer is: that will depend on the
| implementation, and possibly not be possible with some
| implementations. That wouldn't be very satisfying.
No, it wouldn't.
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | Everything should be made as simple as
http://nwalsh.com/ | possible, but no simpler.
Received on Wednesday, 16 May 2007 16:29:58 UTC