- From: Innovimax SARL <innovimax@gmail.com>
- Date: Wed, 16 May 2007 17:56:28 +0200
- To: "Alex Milowski" <alex@milowski.org>
- Cc: public-xml-processing-model-wg@w3.org
OK It's kind of magic but....What do we do with namespace fixup ? Mohamed On 5/16/07, Alex Milowski <alex@milowski.org> wrote: > > On 5/16/07, Norman Walsh <ndw@nwalsh.com> wrote: > > / 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. > > > > Why wouldn't we use p:escape-markup (which was called p:serialize) and > just allow it to escape the document? We would have to add an option > for the document element wrapper name. > > I've already mentioned that we need to add serialization options to > this step anyway. > > -- > --Alex Milowski > "The excellence of grammar as a guide is proportional to the paucity of the > inflexions, i.e. to the degree of analysis effected by the language > considered." > > Bertrand Russell in a footnote of Principles of Mathematics > > -- Innovimax SARL Consulting, Training & XML Development 9, impasse des Orteaux 75020 Paris Tel : +33 8 72 475787 Fax : +33 1 4356 1746 http://www.innovimax.fr RCS Paris 488.018.631 SARL au capital de 10.000 €
Received on Wednesday, 16 May 2007 15:56:45 UTC