RE: [xml-dev] increment pattern for an attribute..

From
Michael Kay <>
To
'Michael Kay' <>, 'dave' <>,
Date
2007-11-06T09:44:13
ID
<00aa01c82059$98400610$6501a8c0@turtle>
Thread
RE: [xml-dev] increment pattern for an attribute..
>   ...
>   <xs:assert test="e1[1]/@val=20 and
>   every $e in e1[position()>1] satisfies $e/@val = 
> $e/preceding-sibling::e1/@val + 1"/> </xs:complexType>

That should be

>   <xs:assert test="e1[1]/@val=20 and
>   every $e in e1[position()>1] satisfies $e/@val = 
> $e/preceding-sibling::e1[1]/@val + 1"/> </xs:complexType>
                          ^^^

Michael Kay
http://www.saxonica.com/