- From: Norman Walsh <ndw@nwalsh.com>
- Date: Wed, 16 May 2007 10:45:29 -0400
- To: public-xml-processing-model-wg@w3.org
- Message-ID: <87646sn7xy.fsf@nwalsh.com>
/ Alessandro Vernet <avernet@orbeon.com> was heard to say: [...] | So instead of having serialization options on all those components, we | created one component that does XML serialization into an XML document | with just a root element. We called this a converter. And all the | components work with this pre-serialized form. So, let me see if I understand. If we called it p:serialize then this step: <p:serialize> <p:input port="source"> <p:inline> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Some Title</title> </head> <body> <h1>Some <br/>Title</h1> </body> </html> </p:inline> </p:input> <p:option name="method" value="html"/> </p:serialize> would produce something like: <c:serialized-form><!DOCTYPE html PUBLIC "..." "..."> <html> <head> <title>Some Title</title> </head> <body> <h1>Some <br>Title</h1> </body> </html></c:serialized-form> And the p:store, p:http-request, etc. components would all treat an input document with a root element of c:serialized-form in a special way. Is that right? Be seeing you, norm -- Norman Walsh <ndw@nwalsh.com> | Our years, our debts, and our enemies http://nwalsh.com/ | are always more numerous than we | imagine.--Charles Nodier
Received on Wednesday, 16 May 2007 14:45:48 UTC