Re: Parse Component

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 UTC