W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > January 2007

Re: Parse Component

From: Innovimax SARL <innovimax@gmail.com>
Date: Wed, 31 Jan 2007 22:30:35 +0100
Message-ID: <546c6c1c0701311330h37264736t88e46d81fa17ca48@mail.gmail.com>
To: "Alex Milowski" <alex@milowski.org>
Cc: public-xml-processing-model-wg@w3.org

To be consistent with your <c:data> proposal, i propose to add a
parameter : remove-root (true/false)

On 1/31/07, Alex Milowski <alex@milowski.org> wrote:
> Name: [p:]parse
>
> Description:
>
> The parse component parses the text descendants of the document element as
> an
> XML document and replaces the children of the document element with the
> resulting
> document element of the result of parsing.
>
> If the text descendants are not well-formed XML, the component generates an
> error
> and fails.  The error context should contain a description of the parse
> error.
>
> Inputs:
>
>    source:  A single document.
>        The input document containing the XML text.
>
> Outputs:
>
>    result:  A single document.
>        The result of the parse inserted as the replacement children.
>
> --
> --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, 31 January 2007 21:30:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:49 GMT