<xs:element name="process-siblings">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:group ref="processXXX-content"/>
</xs:choice>
<xs:attribute name="group" type="xs:QName" use="optional"/>
<xs:attribute name="while" type="xs:string" use="optional" default="node()"/>
<xs:attribute name="until" type="xs:string" use="optional" default="node()[false()]"/>
<!-- todo: type of "while" and "until" should be pattern -->
<xs:attributeGroup ref="filter-atts"/>
</xs:complexType>
</xs:element> |