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

Parse Component

From: Alex Milowski <alex@milowski.org>
Date: Wed, 31 Jan 2007 10:22:12 -0800
Message-ID: <28d56ece0701311022s7fc7c286jf3f39cb95eb79e0b@mail.gmail.com>
To: public-xml-processing-model-wg@w3.org
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 GMT

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