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

[closed] Re: p:viewport cannot match PI or Comments

From: Norman Walsh <ndw@nwalsh.com>
Date: Fri, 08 Feb 2008 13:32:47 -0500
To: public-xml-processing-model-wg@w3.org
Message-ID: <m2hcgj9u40.fsf@nwalsh.com>
/ Innovimax SARL <innovimax@gmail.com> was heard to say:
| [[
| The match attribute specifies an XSLT match pattern. Each matching node in
| the source document is wrapped in a document node and provided, one at a
| time, to the viewport's subpipeline on a port named current. It is a dynamic
| error (err:XD0010) if the match expression on p:viewport **matches an
| attribute node**.
| ]]
|
| it will be better to say instead of "matches an attribute node", "doesn't
| match an element" (since it is wrapped into a document node PI and comment
| are not usable as is)
|
| I have mixed feeling about this, but I fear we will anyway loose the ability
| to match PI or Comments

Yes, I think you're right.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | We are thinking beings, and we cannot
http://nwalsh.com/            | exclude the intellect from
                              | participating in any of our
                              | functions.--William James

Received on Friday, 8 February 2008 18:33:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 8 February 2008 18:33:01 GMT