- From: Jeni Tennison <jeni@jenitennison.com>
- Date: Sat, 21 Oct 2006 21:06:13 +0100
- To: public-xml-processing-model-wg@w3.org
Hi,
In the example of <p:viewport> in the spec:
<p:viewport name="encdivs">
<p:declare-input port="div" step="step" source="port"
select="//h:div[@class='enc']"/>
<p:declare-output port="html" step="encrypt" source="result"/>
<p:step name="encrypt" type="p:encrypt-document">
<p:input name="document" step="encdivs" source="div"/>
</:step>
</p:viewport>
what happens when one selected <div> is a descendant of another selected
<div>?
I think that viewport should probably filter the selected nodes to only
those that do not have another selected node as a descendant.
Cheers,
Jeni
--
Jeni Tennison
http://www.jenitennison.com
Received on Saturday, 21 October 2006 20:06:23 UTC