Parse Component

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

Received on Wednesday, 31 January 2007 18:22:19 UTC