Altova Mailing List Archives>Archive Index >xml-dev Archive Home >Recent entries >Thread Prev - RE: [xml-dev] enforce at least one element and at most N from a set of N elements- XSD how? [Thread Next] RE: [xml-dev] increment pattern for an attribute..To: "'Michael Kay'" <mike@--------.--->,"'dave'" <ceek63@-----.--->,<xml-dev@-----.---.---> Date: 11/6/2007 9:45:00 AM > ...
> <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/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
