XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
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/



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS